Re:Std::visit is everything wrong with modern C++ (2017)
by xigoi on Saturday December 05, 2020 @02:41PM
(#25317627)
We're talking about what language you can use instead of C++, without losing access to C++ libraries. Nim doesn't have the unnecessary complexity of C++, and being rarely used is not a problem. How does it add “third-party dependencies”?
[ Parent
| on HN ]
Re:Std::visit is everything wrong with modern C++ (2017)
by matkoniecz on Tuesday December 08, 2020 @05:41AM
(#25343731)
In this case Nim is “third-party dependency”.
"being rarely used is not a problem" it is a problem if I want to find docs, tutorials or people with more experience willing to help me
"instead of C++" as soon as something breaks I will need to debug both Nim and C++
Re:Std::visit is everything wrong with modern C++ (2017)
by xigoi on Sunday December 13, 2020 @04:15AM
(#25405301)
When it's the language you're using, it's a first-party dependency.
The official tutorial and manual is great and comprehensive. There are many kind people with more experience on the Nim forum.
You won't need to debug C++, just like you don't need to debug JavaScript if you transpile to it from, say, CoffeeScript or Dart.
Re:Std::visit is everything wrong with modern C++ (2017)
by rualca on Sunday December 06, 2020 @03:32AM
(#25322049)
> We're talking about what language you can use instead of C++, without losing access to C++ libraries.
Congratulations, your suggestion requires you to maintain two entirely separate languages, one of which is not standard nor mature, not to mention maintaining interoperability bugs.