Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Go, Rust, D

Name: Anonymous 2018-08-31 19:43

Which C replacement has what it takes to shock the world and fork() my anus??

Name: Anonymous 2018-08-31 19:50

Python

Name: Anonymous 2018-08-31 19:51

C++

Name: Anonymous 2018-08-31 19:52

asm.js

Name: Anonymous 2018-08-31 19:52

jQuery

Name: Anonymous 2018-08-31 20:00

C++

Name: Anonymous 2018-08-31 23:11

pascal

Name: Anonymous 2018-09-01 8:00

Idris, and I am not even memeing
Simple yet powerful type system? Check
- Dependent types? Check
- Higher Kinds? Check
- Parametric polymorphism? (via type variables) Check
- Typeclasses? (adhoc polymorphism + interfaces + prolog-style unification -- rust also has something like that with its traits) Check
- Type inference? Check
Compiles to C and Javascript? Check
Monad support? Check
Pattern matching and ADTs? Check
Buggy as fuck implementation? Check

Name: Anonymous 2018-09-01 8:47

Name: Anonymous 2018-09-01 8:51

>>9
CoC > LF

Name: Anonymous 2018-09-01 9:36

>>9
This looks very interesting. If it's still around when I'm in university (in 3 years) I'll check it out.

Name: Anonymous 2018-09-01 11:43

>>11
Try Idris instead.
How old are you?

Name: Anonymous 2018-09-01 14:53

>>12
No, I want to write useful software.
I'm 18.

Name: Anonymous 2018-09-01 15:23

>>13
ATS will not help you write useful software.
18? How are you not in uni yet?

Name: Anonymous 2018-09-01 15:41

Rust.

Name: Anonymous 2018-09-01 15:47

>>15
It will, it even offers advanced techniques for it.
I don't live in the USA.

Name: Anonymous 2018-09-01 16:40

>>16
it even offers advanced techniques for it
Not really, not any more than Idris at least.
Nor in Europe/China/Japan I presume. Which 3rd world country are you from?

Name: Anonymous 2018-09-01 17:41

>>17
Maybe, but you can't write a game in Idris.

I live in Switzerland, we finish the secondary education at ~19.
If you're male you have to go to miltary which adds a year and depending on your secondary education you'll have to append another year of school to catch up.

Name: Anonymous 2018-09-01 21:26

Go has GC and green thread bullshit so it's not a real C replacement. D has ``optional'' GC but it needs it to use the standard library or do anything advanced at all. Furthermore it's a clusterfuck like C++. Rust is the only viable candidate and it's probably the best thing since Adolf Hitler.

Name: the inferno / limbo guy 2018-09-02 11:15

Go would be good if it were cleaner

how long until Google releases an Inferno ripoff to use its Limbo ripoff with?

Name: Anonymous 2018-09-02 12:41

Go was created for internal usage in Google and thus has a set of very specific functionalities. It was not the point to release it intothe academia. You should not coimplain that the custom tool written by Google fits the needs of Google.

Name: Anonymous 2018-09-02 15:58

>>21
It doesn't look like it fits the needs of Google. https://github.com/google/gvisor/blob/master/tools/go_generics/generics.go

Name: Anonymous 2018-09-02 16:07

The only realistic option is D without runtime/GC its called "-betterC" mode.
https://dlang.org/spec/betterc.html

Name: Anonymous 2018-09-02 16:14

>>23
Note:don't use the reference compiler use GDC or LDC, they're much more optimized. (If you don't need C-level speed, the reference DMD compiler is ok and has latest features.)

Name: Anonymous 2018-09-03 7:39

On second thought I take back what I said at >>11.
Learning this language would be dumb and doesn't align with my goals.
I'll learn the concepts if they make it into C++.
If they don't they probably weren't worth learning anyway.

Name: Anonymous 2018-09-03 8:08

Go is decent for 'microservices'/REST shit but writing complex software in it is a pain because lol no generics and if err != nil bullshit boilerplate. also, it has too much runtime to qualify as a C replacement. people usually use it as a Python replacement, but that only makes sense if you use Python for webshit, I'd rather kill myself that rewrite my more complex FIOC shit in Go.

Rust is interesting as it allows functional style while still remaining a low-level language. unfortunately, the mixture of compiler OCD and bad messages results in compilations that fail for difficult to understand reasons (especially if using macros or generics), the syntax is like C++ but worse and the community is a bunch of SJWs.

D is ok, I guess. it has cool metaprogramming features and is less obtuse than C++. GC'd stdlib is a shame, but at least it surpasses Java speeds (which are actually not bad now) while having a smaller runtime.

Name: Zig shill 2018-09-10 15:46

Discovered Zig today. There is some bullshit from its promoter e.g. https://andrewkelley.me/post/zig-already-more-knowable-than-c.html (especially not fond of forcing array index to be unsigned) and he disses recursion without mentioning tail-call optimization but at first glance it is looking interesting as a replacement for C.
D ``better C'' mode looks good too.
JAI looks nice but it currently is the Cartmanland of programming languages.
My purely prejudiced opinion on Rust is that it looks like a worse Sepples.

Name: Anonymous 2018-09-10 16:26

D is a trash language.
Just like >>27

Name: Anonymous 2018-09-10 17:23

Name: Anonymous 2018-09-10 18:55

>>29
Trash language

Name: Anonymous 2018-09-12 21:29

>>1-sama already knew that the answer is FORTH !!

Name: Anonymous 2018-09-12 22:15

What the fuck is the point of Rust, D, etc.? They’re still way too low level. Might as well just use C++. Everyone knows C++ so you’ll actually be able to make real projects with it.

If I want to invest significant time into learning something new, I’d rather study something like Haskell which actually brings new ideas. That I can get excited about, because it offers something that’s just not merely a dolled up rehash of the old C UNIX segfaulty style of computing.

Name: Anonymous 2018-09-17 2:08

>>32
Rust code written without `unsafe` cannot segfault, my lad

Name: Anonymous 2018-09-17 4:13

Coq

Name: Anonymous 2018-09-17 6:38

>>33
You cannot write anything more than
Fibo.rs
without ``unsafe'' in Rust. Even a simple HTTP server requires it.

Don't change these.
Name: Email:
Entire Thread Thread List