4 ms·
For gc. The was no attempt to benchmark under gccgo, tinygo, etc. so we don’t really know how Go fares. Go is, by explicit design, multi-implementation.
by randomdata 2y ago
For gc. The was no attempt to benchmark under gccgo, tinygo, etc. so we don’t really know how Go fares. Go is, by explicit design, multi-implementation.
- neonsunset 2y agoDo you have numbers for any of these on hand? I'm not holding my breath (after all, there's still issue of this being Go itself, which is inadequate at systems programming) but it's interesting to see how alternative implementations fare nonetheless. (this does not make the point any less valid as the solution this is applied to discussed in the blog post uses "vanilla" runtime flavour)
- randomdata 2y ago> Do you have numbers for any of these on hand? If 19ns is critical to my existence, I'm certainly not going to spend hours of it finding out if a handful of ns might be shaved off by using another implementation. > which is inadequate at systems programming Implying that Go is a scripting language?
- neonsunset 2y agoThere are plenty of good languages which offer better expressiveness and performance in systems programming domain: C#, Swift, Rust, Zig, D, Nim. The biggest lie is Go looks like a low-level-ish language whilst it's anything but, so you end up with the worst of both worlds. It's tooling starts fast, which gives you a false belief that it will continue perform fast, and time and time again people learn the hard way that it's just not the case. It's ironic the story with C# is the opposite, that people expect it to underperform, and avoid it on the premise of criticism based on their imagination, only to be repeatedly proven wrong that it's much faster and extremely capable at systems programming tasks.
- randomdata 2y ago> There are plenty of good languages which offer better expressiveness and performance: C#, Swift, Rust, Zig, D, Nim. If we're sharing random tangents, I hear a lot of people like ice cream. > The biggest lie is Go looks like a low-level-ish language In what way does it look low level? I don't see it. Its closest language analog is Python, which I don't think anyone would see as being low level. Also, I assume this is meant to be in response to the "systems" bit. Systems are not defined by how "low level" they are. You most definitely could create a "low level" scripting language. You probably wouldn't, for various reasons, but you could.
- neonsunset 2y agoYou're responding to something that isn't in my comments. Neither I said it's a scripting language, nor you are being honest in pretending that the industry does not associate whether a language is perceptibly low-level with its applicability in systems programming tasks.
- randomdata 2y agoYou said systems, which implies a converse of scripts. There is nothing else in the category. If something is not a systems language, it is necessarily a scripting language. The vast majority of low level tasks are systems in nature (obviously; hence why a low level scripting language would be mostly pointless), so you're not wrong, but you're not telling the whole story.
- kiitos 2y agoDefining systems languages and scripting languages as mutually exclusive duals is a pretty bizarre way to look at the space. I mean, you do you, but I doubt you'll find many people who will agree with this framing.
- vips7L 2y agoIMO it tries to look low level by including pointers.