Comment by dom96

8 years ago

You might be interested in trying out Nim. It's a language that empowers the user, giving access to AST macros, compile-time function execution and generics.

I would say that using Nim's metaprogramming capabilities to create a great SPA framework is a better direction than creating a brand new language.

My only gripe with Nim is, as usual with non-mainstream languages, lack of libraries and frameworks (and lack of polish in the ones that exist, like Jester). The language itself is good and it's still evolving, so it has a chance of getting even better.

BTW: I've read your book, great job! The "Advanced concepts" part was a bit too short (I'd gladly trade some of the earlier chapters for more examples of both FFI and metaprogramming), but I generally enjoyed the book.

Also, I like how the code listings are annotated - how did you generate them? Is there some software specifically for this, or did you have to position all the arrows and lines and text manually?

  • > My only gripe with Nim is, as usual with non-mainstream languages, lack of libraries and frameworks (and lack of polish in the ones that exist, like Jester). The language itself is good and it's still evolving, so it has a chance of getting even better.

    We need you to help us change that :)

    > BTW: I've read your book, great job!

    Thanks!

    > Also, I like how the code listings are annotated - how did you generate them?

    I used asciidoc to write the book and then my publisher applied some magic to format everything nicely. Not sure about the details I'm afraid.

I'd second this, especially since Nim has already got decent server-side capabilities as well means you can write an isometric web application where the server-side is written in a language with performance comparable to C.