[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: IMG_0078.png (340 KB, 2622x1206)
340 KB
340 KB PNG
here is your memory safe language bro.

why can't we just stick with c++20 ?
safe enough without being a pita
>>
>>106987788
Generics are gay and retarded and look horrible in every language that supports them
Just overload the function like a normal person
>>
We already solver the problem with memory safety. What we have now is not memory safety but rather memory safety in high level languages where no one is able to understand a single line of what is being written.

I tried Rust and i got filtered by it so im sticking with C plus classes
>>
>>106987788
memory safety is a meme
you want to make the memory as unsafe as possible to performancemaxx
>>
>>106987861
that code compiles, but it results in completely undefined behavior. in safe rust btw.
it highlights a core flaw in the type system
>>106987877
that's true. more than half of c's speed is from UB, ironically
>>
>>106987865
Working on it. ;)
>>
>>106987865
>>106988156
My programming language is not only memory safe (without requiring lifetime annotations), but also is resource safe, you can enforce the correct use of an API with minimal annotations, think of this as an effect system or design by contract but using a more semantic approach and without runtime overhead.
>>
>>106987788
Holy shit
who can look at that syntax without killing himself
>>
File: 1748564737145830.jpg (53 KB, 723x691)
53 KB
53 KB JPG
>>106987788
>why can't we just stick with c++20 ?
This was your opportunity to suggest a solution (like linear types) instead of introducing another problem
>>
A & what a<T> what
>>
>>106987788
So what does this program do? I'm a no coder, but I'm 140 IQ intellectual. Any explainers?
>>
>>106989308
Bump
>>
>>106989308
Use-after-free exploit in safe Rust. Something that shouldn't really compile but apparently does?
>>
>>106989561
lmao
>>
is it really that hard to not go out of bounds on an array? why can't zoomers into arrays?



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

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.