28 karma · joined Aug 28, 2018 (8y ago) · 61 submissions
comment 8y ago · link · parent
[0] https://gist.github.com/codr4life/59f2c02403b27d551e706f673b...
comment 8y ago · link · parent
I used to be really passionate about C++ back in the days, but it's just too damn complex. Yes, some new features really help; if I could bring one to a desert island it would be lambdas. Tuning C++ these days is mostly trial and error for me, there are so many gotchas to keep in mind that it's more or less impossible to juggle it all mentally.
From my experience there comes a point where the required effort tips the scales towards more convenient languages for most projects. But by the time you realize you're usually up to your neck in template goo that no one wants to translate.
comment 8y ago · link · parent
comment 8y ago · link · parent
I'm all for the ability to type variables and functions, as long as I'm still allowed to be exactly as precise as I feel like.
Many would call that static typing, since there are types in the code that the compiler consumes. But my own attempts [0] at building such languages tell me that the result is still more dynamic than most.
comment 8y ago · link · parent
Is it really that difficult to imagine? There are all sorts of traces and stories about more advanced civilizations before ours, and more advanced beings than us. As of talking monkeys, people with bird heads and feathers and so on.
I'm with Socrates, I don't know anything for sure about this world. What I do know is that the pieces we've been handed don't match up with my experience.
comment 8y ago · link · parent
Hemp threatened the cotton industry.
Cannabis was more usual among Mexican immigrant workers, which is why they renamed it to something more Mexican sounding.
It was a convenient way of breaking up the hippie movement and avoiding Vietnam war protests.
It has many medicinal uses and less side effects than the artificial crap we call medicine these days.
It scrambles the programming, people start asking themselves the wrong questions when using it.
It allows the government to conduct a war against its own people, and discriminate freely; while claiming to protect.
And on it goes...
States have managed to foment different levels of social stigma.
In Sweden, where I was born; you might as well do crack cocaine in most peoples eyes.
comment 8y ago · link · parent
Or in the words of the freemasons, order through chaos.
Once hurt, few seem to have enough integrity to break the loop; so it snow balls nicely all by itself.
comment 8y ago · link · parent
Empathy, sensitivity -- the ability to connect to other people on their level and feel what kind of nudges they need to evolve.
But of course you can't expect that to happen if you treat teachers like garbage and stuff them in sterile rooms with 30 over stimulated kids.
comment 8y ago · link · parent
Carrying heavy things and performing unpredictable, physical activities changed. Recently tried surfing for example, but since I can't control the motions enough to protect my spine and the price for a mistake is so high it takes the fun out of it. And I stopped climbing for mostly the same reasons.
One day at a time, you'll be fine :)
comment 8y ago · link · parent
I had three vertibrae fused similarly ten or so years ago after a climbing accident smashed the middle one into pieces. Many days it doesn't even cross my mind unless I have more pain than usual for some reason; but now and then I realize how surreal it is to have those pieces of metal inside my body, and how much my life has changed as a result.
Definitely a near-life experience, wouldn't change it for anything in the world; but you can't really go around and recommend people to fall of cliffs.
comment 8y ago · link · parent
Snabl uses the C++ standard library all the way through, which leads to a tighter fit in C++ applications.
And I have enough issues with some of Lua's design choices to rule it out either case. Everything is most definitely not a table and I want an expressive, generic and gradual type system built in.
comment 8y ago · link · parent
But that being said, using a simple embedded glue/scripting language that's fully integrated into the host environment makes a lot of sense to me. Emacs Lisp, Autocad, any game engine etc. It's a tried and proven strategy.
I started writing my own glue language [0] for C++ since I couldn't find anything simple and integrated enough for my taste.
comment 8y ago · link · parent
It's very impressive work, no doubt. And as long as no one asks me to debug anything running on top, I don't have any issues with it.
At least with straight reference counting I know what's going on under the hood, that's worth a lot. Sharing pointers across threads is tricky business, I can't really see what that has to do with anything. And it's quite likely that it will run faster, simply because it's much less complex.
comment 8y ago · link · parent
They're C heads, trying to build a simplified C; at least they were, they sort of messed that up with garbage collection, wild west threading and using reflection for all the wrong reasons.
Sure, now the tone is different. But back in the days when the language was first released, they would make fun of anyone mentioning generics or exceptions.
comment 8y ago · link · parent
comment 8y ago · link · parent