4 ms·
Have you encountered any major compiler bugs? Nim looks great, but the list of open issues on GitHub would scare me from using it in production. Or isn't it as
by emsy 10y ago
Have you encountered any major compiler bugs? Nim looks great, but the list of open issues on GitHub would scare me from using it in production. Or isn't it as severe in real-world use?
- audunw 10y agoemsy: I'm not OP, but I encountered quite a few compiler bugs when I was using Nim a couple of years ago, but that was only because I tried to push the macro system really hard. Generally most bugs are related to newer features. I never experienced any bugs with the core features/library.
- zielmicha 10y agoThere are compiler bugs, but almost all of them are related to advanced metaprogramming. If you stick to "normal" metaprogramming (generics, templates, sane macros), compiler works well.
- crux 10y agoI haven't encountered any compiler bugs, no. I know that they're still really pushing on some of the further reaches—what comes to mind is statically verifying that a value is never `nil`, as well as some of the more industrial-strength elements of the metaprogramming system—but both of those are very much optional.