[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

How do we fix C++? Here are my proposals: >Fork current C++

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 28
Thread images: 3

File: 20525241n.jpg (34KB, 552x414px) Image search: [Google]
20525241n.jpg
34KB, 552x414px
How do we fix C++? Here are my proposals:

>Fork current C++
>Cut off C source level compatibility
>Modules, support wildcard in module imports
>Lazy iterators and ranges
>Lifetime specifier, borrow check system (optional)
>Pattern matching
>Variant types
>Hygienic macros
>Adopt Meson as the standard build system and dep management tool
>Free and open source, cross platform Language Server Protocol
>Get rid of C preprocessors
>Call it D++
>>
Congratulations you just made Rust.
>>
>>61723511
Rust doesn't have variant types
>>
>>61723533
It does you retarded shitnigger.
>>
>calling Rust D++
I like it.
>>
>>61723570
No, it doesn't give me an example
>>
>>61723942
https://rustbyexample.com/custom_types/enum.html
>>
>>61723454
all of these sounds good, you get on implementing it and i'll make the logo
>>
>>61724191
Do it pussy.
>>
File: loadOfGuy.jpg (146KB, 496x496px) Image search: [Google]
loadOfGuy.jpg
146KB, 496x496px
>>61723454
how can you fix perfection?

Its not C++, its you.
>>
>>61724200
Here you are.
>>
>>61723454
>>Cut off C source level compatibility
>fix C++
>remove the only good thing it has
>fix
>>
>>61724367
>only good thing
That's the only reason C++ sucks
>>
>>61724122
>enum
wtf?
>>
>>61724479
Their enums can be used both as traditional C enums and variants.
>>
>>61724430
if not c compatibility no one would ever use c++
>>
>>61723942
>>61724122

Literally schooled
>>
https://dlang.org/
>>
Yes, we can drop c++ and get using rust.
>>
>>61724842
>GC
>>
>>61724869
lifetime specifiers should be optional and so is borrow checks. Get rid of unsafe blocks and allow mad pointers for comfy programming
>>
>>61725561
Unsafe blocks are the option.
You just think it should be opt-out instead of opt-in which is retarded for a no overhead safety feature.
>>
>>61725561
>raw pointers are comfy
You're a threadlet.
>>
>>61725716
>tfw using 8 cores 16 threads
Nice try
>>
>>61725820
>he thinks I'm referring to the hardware
I bet you don't write programs that use all of them consistently.
>>
>>61725820
>being this fucking stupid
he was talking about making multi threading in programming you moron
>>
>>61723454
>Take D
>remove retarded shit like enums
>remove GC
>>
>>61725820
this guy
Thread posts: 28
Thread images: 3


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.