Y
Hacker News
new
|
ask
|
show
|
jobs
by
ptato
1160 days ago
Can you write GUIs with Janet?
1 comments
cellularmitosis
1160 days ago
If you count raylib as a GUI, yes!
https://github.com/tantona/janetroids/blob/master/main.janet
link
eggy
1160 days ago
And that is 379 LOC for an Asteroids clone which includes some inline defined math functions instead of an include to an external math lib. Raylib is great for the GuI stuff (it is an immediate mode GUI, because games), and it is written in C.
link
ptato
1160 days ago
good enough
link
https://github.com/tantona/janetroids/blob/master/main.janet