The secret of Nim

2023-09-19 Thread gentius
Hopefully this won't deviate the discussion that much, but the way those sand dunes are shaped, it makes the cover seem like one of those optical illusion pictures or "what do you see here" type of images. (I'll be specific in case I'm the only one... there seems to be some resemblance to a wom

Viability of a website generator using nim.

2023-07-13 Thread gentius
You kind of need to learn a new language for a templating engine as well, right? ({% if %}, {% endif %}, etc) Anyway, taking that mentality to the extreme you'd conclude that HTML + vanilla JS is the one true way for any dynamic content on the web.

Viability of a website generator using nim.

2023-07-13 Thread gentius
I'm not sure of the possible drawbacks, but something like polyrpc seems promising for small projects where one intends to use Nim for both front end and back end. You then still run the compiler twice, right? No additonal 'magic' on that front I presume?

GUI app with nim

2023-07-03 Thread gentius
That demo looks quite nice actually, and the widgets could serve most use cases just fine. Since their resurgence, have such immediate mode guis gotten any better as far as not redrawing when not in use, etc.?

Twitter Clone in 60 lines of Nim

2023-07-03 Thread gentius
LiveView like tech seems to me to be making the best compromises for a lot of use cases, so I think this is promissing. 1. If you are still in the early design phase, I would suggest maybe not getting into the 'template game' yourself and just making use of that module from karax. Or which