vlang / vinix

Vinix is an effort to write a modern, fast, and useful operating system in the V programming language
https://vlang.io
GNU General Public License v2.0
1.93k stars 118 forks source link

add drawing lib, improve simple V #12

Closed crthpl closed 3 years ago

crthpl commented 3 years ago

This improves the simple V @spytheman made by increasing the thickness and making it the blue V color. In addition, there is a simple drawing lib that can be used to set the color at x, y coordinates (with bounds checking), and also draw rectangles. One thing I noticed was that the build flags had -O3 which greatly slowed down compilation, and the runtime happened pretty much instantly anyway with -O0 (This project is still very small).

TODO:

JalonSolov commented 3 years ago

-O3 is turned on for -prod builds, and should stay on for that.

mintsuki commented 3 years ago

Looks good

crthpl commented 3 years ago

It was difficult to keep this up-to-date with the main vos.