Nim 1.0
21–30 of 308 posts
Re: Nim 1.0
#22> Type identifiers should be in PascalCase [1] I don't get why some languages adopt the 'PascalCase for types' approach (which is fine), but then a bunch of the built-in types such as 'string', 'set', 'int64', etc. are lowercase... it's annoyingly inconsistent. [1] https://nim-lang.org/docs/nep1.html#introduction-naming-conv...
Re: Nim 1.0
#23Congratulations Nim team! :D I've had Nim installed on my laptop for a long time and I've always enjoyed tinkering around with it over the years. Maybe now it's time to find a bigger project to try it out on. This is a tiny thing, but just to highlight something unique I like about Nim, using `func` to declare pure functions (and `proc` for others) has been a small, but really nice quality of life improvement. It's s…
The combined result may not be nearly as principled as the Haskell way of doing controlled mutability with double-checking from the compiler that you aren't breaking your own rules, but it's a nice pragmatic compromise that's easy to understand without having to rewire the way you think about programming.
Re: Nim 1.0
#24Re: Nim 1.0
#25Re: Nim 1.0
#26Could Nim be used to generate a framework for Xcode and the the same code be used in a Windows C++ or .NET project?
I've been looking for ages for a cross platform solution that can be used to create dynamic or static libraries that isn't C++.
Re: Nim 1.0
#27Question (genuine, not trolling): what's the use-case for Nim regarding other languages? What are its pros/cons?
Re: Nim 1.0
#28Question (genuine, not trolling): what's the use-case for Nim regarding other languages? What are its pros/cons?
I used it where I would use python - backend of web apps. But now instead running a cluster of servers I can just run 1 because nim is fast.
I also used to write frontend in CoffeeScript, but switched to nim because I can share code between backend and frontend. I don't have typos. I don't inherit any JS or OOP legacy like TypeScript.
Re: Nim 1.0
#29Question (genuine, not trolling): what's the use-case for Nim regarding other languages? What are its pros/cons?
You could also describe it as being competitive with Rust, but with more compromises for the sake of developer ergonomics. Garbage collection, for example.
For my part, I'm finding it attractive as a potential Java-killer. It isn't write-once-run-everywhere, but, now that x86 and Linux have eaten the world, that's not quite such a compelling feature anymore. And Nim smooths things over a bit by making cross compiling dead easy. In return, I get better type safety, better performance, a much better C FFI, and less verbose, easier-to-understand code.
Re: Nim 1.0
#30I hope I don't spoil the party by asking: What's the status of GUI bindings?