[ home / overboard ] [ soy / qa / raid / r ] [ int / pol ] [ a / an / asp / biz / mtv / r9k / tech / v / sude / x ] [ q / news / chive / rules / pass / bans / status ] [ wiki ]

A banner for soyjak.party

/tech/ - Soyence and Technology

Download more RAM for your Mac here
Catalog
Email
Subject
Comment
File
Password (For file deletion.)

File: ClipboardImage.png 📥︎ (50.01 KB, 195x258) ImgOps

 â„–36210[Quote]

What is the good successor to C?

 â„–36211[Quote]

why does it need a successor

 â„–36214[Quote]

>>36211
because mr glownigger here wants easier access to your data and c is too rock solid to do that

 â„–36216[Quote]

C-2

 â„–36217[Quote]

C++++++
>FLOOD

 â„–36221[Quote]

the language or the protocol?
if the language then maybe zig?

 â„–36225[Quote]

use case for a c successor?

 â„–36237[Quote]

C3

 â„–36241[Quote]

>>36210 (OP)
i have been testing out zig for a bit now and i feel like its a better C, and it integrates C libraries perfectly too

the defer and errdefer keywords are so useful i wish they existed in C and personally i feel they are better than c++ RAII shit, as you just need to remember to do variable.deinit() when something uses an allocator instead of writing a class with a constructor, deconstructor for everything that has a handle, heap memory etc.

the compiler is also very good and cross compilation is great (was one of the reasons i switched from c++, cmake is fucking annoying)

only issues i have are that its changing so fucking fast that you have to relearn some shit every update, but once it hits 1.0 i feel like that will go away and also with it being a small language theres way less example code to base off of, documentation isnt the greatest but the source code is very readable so you can just go through it to see what something does (unlike the c++ STL)

 â„–36242[Quote]

>>36241
also i had used C for a while, but due to my shitty memory i always kept forgetting to deallocate memory which is why i switched to c++ for RAII

 â„–36244[Quote]

>>36210 (OP)
BASIC or D

 â„–36328[Quote]

Rust, and maybe Java, unironically
>saar u are tranny
Seethe about it nigger

 â„–36431[Quote]

>>36244
Marge what's D

 â„–36551[Quote]




[Return][Catalog][Go to top][Post a Reply]
Delete Post [ ]
[ home / overboard ] [ soy / qa / raid / r ] [ int / pol ] [ a / an / asp / biz / mtv / r9k / tech / v / sude / x ] [ q / news / chive / rules / pass / bans / status ] [ wiki ]