Message from @DanielKO

Discord ID: 464303341741146124


2018-07-05 05:16:49 UTC  

> ...) in general, the whole standard library is not thread-safe
yeah this is what Ruby was having issues with all those years ago

2018-07-05 05:17:16 UTC  

Python is also embarrassingly trapped in a Global Interpreter Lock design.

2018-07-05 05:17:36 UTC  

I mean you could do threads, but you'd end up with stuff like @@ static variables beign shared way out of thread scope

2018-07-05 05:18:04 UTC  

"Python has threads, it's just that they can't run in parallel."

2018-07-05 05:18:43 UTC  

I think there was something with Ruby back then where you could end up sharing static variables between *processes*

2018-07-05 05:19:09 UTC  

I seem to remember something like that, like some epic "wtf why" thing with them

2018-07-05 05:19:39 UTC  

People have to learn somewhere (how to create languages and implement them.)

2018-07-05 05:19:50 UTC  

Stroustrup was blessed by working at Bell Labs.

2018-07-05 05:19:56 UTC  

for sure

2018-07-05 05:20:39 UTC  

When he was unsure whether to just make a pre-processor on top of C, or go for a full compiler (given that he had never created a compiler before), his mentors said, "full compiler, dude, go all the way and we will all help."

2018-07-05 05:22:07 UTC  

that's pretty bad ass if you think about it

2018-07-05 05:23:05 UTC  

new modern languages are made by people who took a compilers course and want to make a new langauge that looks cool and uses fewer semicolons

2018-07-05 05:30:57 UTC  

Sounds great, until there's no more funding and the language gets abandoned. Or the version you wrote all your software in, gets deprecated.

2018-07-05 05:31:59 UTC  

or the language isn't completely planned out and just becomes a total mess of unmaintainable half-implementations

2018-07-05 05:32:05 UTC  

Remember D? The "definitive C++ killer", by Walter Bright? Dude is really a genius with regards to compilers, but even he, screwed up and couldn't get it right the first time.

2018-07-05 05:32:33 UTC  

yeah I was actully really into D in the beginning and wrote a few little things in it

2018-07-05 05:33:07 UTC  

but stuff never really worked and pretty much anyone who ported interfaces for it just stopped

2018-07-05 05:33:12 UTC  

He created the first C++ compiler that generated native code (instead of compiling C++ to C), and proposed a bunch of details on the standard, to allow advanced low-level optimizations.

2018-07-05 05:34:30 UTC  

Return Value Optimization, Copy Elision, he invented it.

2018-07-05 05:35:40 UTC  

what do you think of Rust? I checked it out a few times but it was always a mess, and then all the sudden a bunch of stuff is being re-written in it and the head of the project is an insane SJW who's kicking people out who aren't trans minorities

2018-07-05 05:35:43 UTC  

Also, that's one of the things that made C++ a non-deterministic language.

2018-07-05 05:36:01 UTC  

Which makes Programming Language Design professors run away from C++.

2018-07-05 05:36:25 UTC  

that's a good point

2018-07-05 05:36:51 UTC  

It's hard to prove formal properties of code that you don't know *exactly* what's going to do.

2018-07-05 05:37:11 UTC  

Honestly, when a company comes showing "here, we just invented a new language", I see zero value in jumping in early.

2018-07-05 05:37:42 UTC  

If one of the selling points is "it's like C++, but ~~with less features~~ simpler", you can be sure, they'll slowly add these features in later, and pretend they're innovating something.

2018-07-05 05:37:45 UTC  

right, the only reason I got into D was because of Bright and because of the familiarity of a lot of it

2018-07-05 05:38:01 UTC  

Rust I've done like hello world and some little stuff just to see what it was like

2018-07-05 05:38:31 UTC  

honestly what I dislike the most about Rust right now is the community

2018-07-05 05:38:45 UTC  

fuck any project with a CoC I'm weary of now

2018-07-05 05:38:46 UTC  

I started using Mercurial because Mozilla was using it. But I won't touch Rust.

2018-07-05 05:39:52 UTC  

In the early days of the boom of distributed source control, I went through Mercurial, Bazaar, one other that I don't even remember, everyone forgot... later git came about, I tried it too.

2018-07-05 05:40:02 UTC  

well Mozilla could have gone a totally different way if they hadn't chased out Eich

2018-07-05 05:40:25 UTC  

Monotone, that's the one.

2018-07-05 05:40:37 UTC  

never heard of Monotone

2018-07-05 05:40:46 UTC  

never liked Bazaar

2018-07-05 05:40:58 UTC  

Exactly.

2018-07-05 05:41:19 UTC  

used Mercurial for a bit, but Git went crazy and I'm so OSS it seemed silly not to just go full git

2018-07-05 05:41:47 UTC  

we had an SVN sever before that which shit the bed on us and we had to completely re-assemble a really messed up code base

2018-07-05 05:41:51 UTC  

I'm more of a Free Software guy.

2018-07-05 05:42:46 UTC  

Monotone was supposed to be good because it was fast, written in C++. But it turned out Mercurial was virtually just as fast, because most of the time was spent doing I/O, and they did some tricks to optimize I/O.