V is extremely fast to compile, its syntax is way simpler than rust and enables much of teh same things
i almost adopted it except it kinda put me off this mutable bullshit
my second programming language was assembler
i know the extra rigmerole required to fuck around with MMU shit and there is no reason to do it, except for fencing processes into the memory that they have permission to access
using it for write control is incredibly complex and failure prone and a lot of extra processing to protect you from what
dumbass peers?
i also have big problems with the whole "internal" "don't export it" thing, too many times in Go libraries some genius hides critical functionality inside something i can't access because internal
i now have a policy of hide it only if in really has no use, i understand the bugs you can get from permeable interfaces and reaching through interfaces into underlying stuff but those necessities actually indicate that the hidden shit should be a shared library not hidden
I'll enthusiastically agree with the hidden internals thing. I sarcastically LOVE writing wrapper classes for your library because you decided I don't deserve insight into critical internal state.
the number of times this has blocked me from achieving something i've lost count
If rust can have an "unsafe" keyword to allow poking at memory when nothing else will do the languages can introduce a 'sudo give me access to your private members' keyword.
go already has this, it's called "unsafe" and "reflect" and you can do a lot of cool things but actually you don't really want to do them most of the time
Thread collapsed
Thread collapsed
Thread collapsed
Thread collapsed