|
|
|
|
|
by sound1
1897 days ago
|
|
> However, indeed, if you are to choose between, for example, Nim and Go for a new project, then I am not sure why would anyone prefer Nim. I'm really interested to know. Same here, curious to know what HN crowd recommends between Nim vs Go for new projects. |
|
https://nim-lang.org/blog/2021/03/10/fusion-and-pattern-matc...
This makes it really easy to reduce boilerplate and create low- or 0-cost abstractions for your problem domain. Example of this done in a microcontroller project here:
https://www.youtube.com/watch?v=j0fUqdYC71k
Async/await is also implemented by metaprogramming, rather than as a "core" part of the language:
https://www.youtube.com/watch?v=i0RB7UqxERE
Unrelated to the above, Nim also compiles to Javascript. So you can use the same language for both the backend and frontend.