News for hackers. Stuff that matters.
Re:Nim 1.0 by mwcampbell on Monday September 23, 2019 @11:49PM (#21056323)
I noticed that Araq's personal post about v1.0 mentioned a powerful macro system as a top priority. I wonder if Nim's macro system is now expressive enough that a front-end web framework like Svelte [1] could be implemented using Nim macros, as opposed to Svelte's HTML template language and custom compiler. COuld be useful for developing isomorphic web apps with something lighter than Node on the server side.

[1]: https://svelte.dev/

Re:Nim 1.0 by leorize on Tuesday September 24, 2019 @02:41AM (#21057183)
I think this is what you're looking for: https://github.com/pragmagic/karax
Re:Nim 1.0 by mwcampbell on Tuesday September 24, 2019 @08:57AM (#21059584)
Not quite. Karax has a virtual DOM, and Svelte's creator argues that this is pure overhead [1].

[1]: https://svelte.dev/blog/virtual-dom-is-pure-overhead