3 ms·
I can't think of any language where networking (or graphics for that matter) is built into the language. At best you get support in the standard lib, but wheth
by flohofwoe 2y ago
I can't think of any language where networking (or graphics for that matter) is built into the language.
At best you get support in the standard lib, but whether things like this should go into the stdlib or 3rd party libs is a decision that isn't set in stone forever, and probably doesn't even matter if it is easy to integrate 3rd party libs into Odin projects. AFAIK Odin has the concept of vendor libraries, which live somewhere between stdlib and 3rd party - so networking could go there).
Compared to Zig specifically, Odin has a couple of language features that might make it less pure from an academic language designers pov, but more convenient from the user's pov and only the last one matters for getting shit done. I wouldn't dismiss Odin only because it doesn't have features XYZ, because it does some other things very right compared to other languages.
Re IDE integration, google for "Odin language server".
- knome 2y ago>I can't think of any language where networking (or graphics for that matter) is built into the language. Erlang has cluster aware message passing built in as a fundamental aspect of the language.
- lagniappe 2y agogo has both in the stdlib
- indulona 2y agothe networking does not necessarily has to be in standard library, but there has to be some "official" package/library that handles these things on a superb level and is ready to go in an instant. for odin, there is one http server in the works, and according to bil it will be the "official" package but when you look at it, it is VERY lacking in many aspects. it's more like a guy made a library that kinda works, but it's nowhere near the expected standard and performance one expects.
- baranul 2y agoThat's probably relative to the few contributors on the project. Until recently, was even worse, as was mainly a one-man show. This can be seen by checking the contribution history.
- pjmlp 2y ago.NET languages, Python, Java. C++ before the days of C++98, when each C++ compiler vendor provided a nice C++ framework alongside their compiler.