[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: massive_win.png (219 KB, 604x616)
219 KB
219 KB PNG
https://fil-c.org/
>>
Any real software running Fil-C?
>>
library of C
in my RUST?
AIIIEEEE
>>
File: 1733708273079825.png (261 KB, 1200x800)
261 KB
261 KB PNG
>>107389074
>this guy made C memory safe! Rust is now obsolete
>look inside
>it's a garbage collector
>checks for memory errors at runtime (and crashes if found)
>100 times slower
>doesn't catch all memory errors

yeah Cniles are not sending their best
>>
>>107389607
common cnile L
>>
>>107389607
At that point just use C# or something
>>
File: 1764384668883619.png (100 KB, 627x722)
100 KB
100 KB PNG
>>107389607
>>
>>107389818
Isn't the fastest doom engine written in C#?
>>
>>107389607
even worse, it doesn't have ABI compatability. Anything compiled for it needs all its libraries compiled against fil-c too.
>>
>>107389607
sorry but it's still better than rust
>>
File: fil-c.png (1.17 MB, 3195x1754)
1.17 MB
1.17 MB PNG
>>107389607
>>
>>107390021
sorry you got cooked unc
it will happen again
>>
>>107389607
Why do cniles just keep losing constantly? You'd think at some point they'd get the odd win.
>>
>>107389607
>>it's a garbage collector
>>checks for memory errors at runtime (and crashes if found)
>>100 times slower
>>doesn't catch all memory errors
So it's just Java then?
>>
>>107389607
x86-64 only also
>>
>>107389074
it's not the same as Rust in almost any way but if anything it's just as interesting and I'm very happy that people are exploring other avenues to achieve similar goals, especially those that integrate well with the mountain of highly mature C code.
>>
>>107389074
>PLEEEEEEEEEEEASE BE DEAD PLEASE PLEASE PLEASE
this is honestly pathetic lmao
>>
>>107390388
because all the competent ones either switched teams, retired, or are just doing their thing quietly until they can retire.
this a simplification for the retarded /g/eet minds, of course.
>>
>>107390558
kek and true
>>
if rust is still using llvm it's a cnile lang too
>>
>>107390955
if it used a code generator written in haskell, does that make it a haskell lang? lmao

llvm is C++, not C. same goes for modern GCC.

the only *proper C* in rust is libc use in std (implementation detail) and supporting the C ABI directly (if needed for ffi).
>>
>>107389607
>C is so simple and low level you can build a tool to completely transform it into something else
rustroons could never
>>
>GUIslop
>memory safety
I'm not sure what to say tbhdesu
>>
>>107390056
It's fast becsuse of the design, not because of c#
>>
Why can't peoolt just make a C compiler that makes it memory safe?
>>
what does fil-c even stand for
>>
>>107392215
chick fil-a...
chick fil-b...
chick fil-c...
>>
>>107392215
most likely part of his name philip but in polish it's spelled filip
>>
>>107389074
Buy an ad already holy shit
>>
>>107391684
>and after you're done it still sucks
>>
>>107390388
bc C was always bad, its a cargo cult
good programmers used C bc it was what it had a decent compiler in many different systems thus making it portable in a time where every manufacturer had their own incompatible isa
>>
>>107392716
>group cope therapy
crabs belong on /lgbt/, not /g/
>>
>>107389074
If you knew rust you'd know the safety features are like the last reason to use it, it's just an overall comfy language to use you can be productive with, the strong typing and safety features are just the cherry on top.
>>
>>107389074
> garbage collected
Lmao
>>
>>107391684
In rust we have metaprograming which is built in, we don't even need to make a separate program lmao.
>>
File: mpv-shot0018.jpg (234 KB, 1920x1080)
234 KB
234 KB JPG
>garbage collection is suddenly good when C is doing it
>>
>>107392716
>good programmers used C bc it was what it had a decent compiler in many different systems thus making it portable in a time where every manufacturer had their own incompatible isa
Fortran and Pascal had that before C though. C took over and replaced the existing languages.
>>
>>107393366
No they didn't.
>>
File: unwrap.jpg (51 KB, 1079x257)
51 KB
51 KB JPG
>>107389074
.unwrap()
>>
>>107393375
You can still compile and run Fortran and Pascal code from the 70s made for completely different computers on your PC using standard compilers. Those languages had standards a long time before C did, COBOL too.
>>
>>107393457
And it runs like crap and gets nothing done.
>>
>>107393437
The use of unwrap is 1. Entirely optional, 2. Entirely intended.
You can't argue that an intended unwrap that you don't even have to use is worse than literally hidden possible panics everywhere.
>>
>>107393502
unwrap is no different from a hidden panic
>>
>>107393487
Fortran is in many cases faster than C.
That's why it's still used today for high performance computing.
>>
>>107393513
I'm sure it was real in your head.
>>
>>107393512
You are a retard then.
You can literally grep for unwrap and see all the places it was used.
Every rust dev knows what unwrap does and it often is the desired behavior (ie if the program cannot continue if a specific error is encountered).

Also, you can write a whole codebase without using it a single time, nothing forces you to, and i don't have any of them in most of my projects that run on prod.

With that fil-c you can't just grep for places that would panic, with rust you can and then remove them.
>>
>>107393522
You can look up benchmarks you know, there is a reason many numerical computing libraries are still written with it.
>>
>>107392247
consumer brain.
>>
>>107393537
>Look up.
Why not run them myself? Oh wait, it's because those slop shitlangs are used nowhere so there's no way to compare C code to your imaginary one.
>>107393533
Don't care about fil-crap, Rust is a toy, security theatre, no usecase.
>>
>>107393551
> Rust is a toy
You are a retard, i said many times, it is a very comfy language to work with, honestly i don't really care about the safety features, they do work, but they are more the cherry on top than anything else, rust just if a great language.
>>
>>107393922
ok nocoder
>>
>>107393956
AI does it for me
>>
>>107393502
>You can't argue that an intended unwrap that you don't even have to use is worse than literally hidden possible panics everywhere.
I'm not. What made you think that?
>>
File: 1743173215999927.png (56 KB, 1000x1000)
56 KB
56 KB PNG
>>107389074
>garbage collected C
Good fucking lord just use C++ at this point.
>>
>>107393487
Last time I benchmarked Fil-C it was like 10-20 times slower than C and Rust. That's way slower than Fortran and Pascal.
>>
>>107392247
imagine being at computers
>>
File: image2.png (66 KB, 1200x742)
66 KB
66 KB PNG
>>107393551
>security theatre
>>
>>107394213
>We fired people who write code and now our code has less bugs because we have less code
Genius.
>>
>>107393956
> the guy defending a language because he likes using it is a nocoder and not the one that doesn't like anything
Sure mate
>>
>>107394351
I like C++.
>>
>>107394238
The jeet and nigger incapacity to understand per capita and pourcentages.
Those were in percent, you are an absolute buffon.
>>
>>107394364
python scripts don't count as code
>>
>>107394038
I don't even care about rust but if it's the best cniles can come up with it still has many years ahead lmao.
>>
>>107394374
This graph is from Google Security Office post about Rust, not Python.
https://security.googleblog.com/2025/11/rust-in-android-move-fast-fix-things.html?m=1
>>
>>107394359
Well i liked c++, I've used it for over a decade before learning rust, then i used rust more and more until i realized i no longer use c++ and prefer rust to it, it's just nicer imo.

I have to be fair though, rust is really annoying to master, the learning curve is one of the worse one out here imo.
Though once you master it it's absolutely a pleasure to use.
I've yet to find someone that masters it and prefer c++ over it.
>>
>>107394401
Rust doesn't give me anything that C++ cannot do better.
>>
>>107394403
That's entirely false, i can give you many example.

Proper metaprograming, iterator and streams (no c++ iterators don't count as they aren't lazy).
Think of streams as iterator for which data is still coming from io, ie a sql query.
Then you can make generic functions that take streams as input modify it, ie filter, map etc, then return it.
At that point no computing has been done yet, you don't need to copy data around from one fonction to another either, as stream end iters are lazy they are only evaluated once consumed.

Then you can consume your stream externally by just doing stream.for_each_concurrent(...) for example.
There isn't any good thing in c++ rust doesn't have a better version of, but the opposite isn't true.

I talk from a position of having using both professionally for years, you don't know rust and thus don't know it's benefit and limitations.
There are things i don't like in rust for sure, but there are more things i don't like in c++, one of them being the build system which is not standardized, a poor ecosystem, the lack of traits, i mean i could go on for a while.

Imo rust is more of a c++ replacement than a c one though.
>>
>>107394403
> says the guy that doesn't know and has never used rust
lmao.
You don't even know what you are missing out on.
>>
>>107394443
>Proper metaprograming
Stopped reading there.
>>
File: screenshot.png (7 KB, 705x283)
7 KB
7 KB PNG
>>107394449
I'm missing out on hidden panics in subslicing.
This line pulls in panic bloat into my panic = abort code because compiler doesn't know how to prove that it will never panic.
This code has a hidden branch and it's not obvious at all that it does.
For once in your life, try arguing in good faith, you worthless rustnigger.
I'm really looking forward to what retarded cope you can come up with to defend this.
>j-just use .get_unchecked everywhere or something!
No thanks, I'll just stick to C++, where I won't get a minefield of code bloat and arbitrary senseless branching in code that provably never fails.
>>
>>107394450
You are a retard then.
And you don't have to use it but it's nifty.
Also the rest of my reply would be useful to you most likely. Regarding metaprograming.
Ie i can just do #[derive(Serialize, Deserialize)] over a struct definition.
And now i can convert it to and from any types known to man, be it json, toml, etc or even fucking sql if you want to use that.

The metaprograming features don't mean you have to use them but you can use libraries that are only possible thanks to it.

Also the format you can convert from and to is compilation dependent. Ie for json you import serde_json and the crate implements the json format, but the struct définition doesn't change.
This is the power of trait and metaprograming.
>>
>>107394482
>You are a retard
I stopped reading because you are the retard.
>>
>>107394478
You don't have to use the built-in arrays you know.
Also nothing prevents you from doing raw pointer dereference.
Also you are complaining about stuff that will almost never matter ie check amdahl's law.
And lastly you are lying because in compiler explorer for release profile the generated assembly is almost always identical without the use of usage and in the rare case it isn't you can make it identical.

Also there are many cases in which you do generate better assembly because the language is more expressive and also has built in intrinsic for simd.
>>
>>107394599
Yes I know, I can reason logically and I backtracked all the way into
>I don't have to use this shitty toy shitlang.
Any other copes you can give me or are we done here?
>>
>>107394487
> I stopped reading
I stopped reading because you don't bother to read.
You can kindly fuck off nigger.
>>
>>107394622
Why would I waste my time reading self-fellating nonsense?
>>
File: 1578354913798_1.png (526 KB, 1026x2748)
526 KB
526 KB PNG
>>107394403
>Rust doesn't give me anything that C++ cannot do better.
Hygienic, procedural macros
Proper module system
No header files
Destructive moves
Zero cost RAII
Utf-8 by default
Standardized build system
Monadic error handling
Sane destructirization and sum types
Proper handling of zero sized types, unsized types, unit and bottom types
Generics that don't require SFINAE hack
Proper freestanding mode and support for heap-less, unwinding-less environments
Actually useful async
Powerful iterators that are simple to implement
Testing and benchmarking framework
Standardized documentation format and doctests
Safety
>>
>>107394616
> muh I'm ignorant therefore I'm right
Enjoy your backward ass half thought out language litered with pragma once retardation and other shitty arbitrary limitations.
You don't even have proper streams or async lmao.
>>
>>107394646
The trait system alone is reason enough for me to use rust lol
But yea there are so many good things going for it ie serde, it's just comfy to use.
>>
>>107394646
>Hygienic, procedural macros
Templates are hygienic too.
>Proper module system
No usecase.
>No header files
Not an upside.
>Destructive moves
Exists in C++.
>Zero cost RAII
Exists in C++
>Utf-8 by default
I don't need performance penalty by default.
>Standardized build system
Ah great, just perfect for my non-standardized non-app.
>Monadic error handling
FPtranny nonsense
>Sane destructirization and sum types
No usecase
>Proper handling of zero sized types, unsized types, unit and bottom types
Exists in C++
>Generics that don't require SFINAE hack
Exists in C++.
>Proper freestanding mode and support for heap-less, unwinding-less environments
I'm literally writing free-standing code and every single byte matters, I tried
>C++
>C
>Zig
>Rust
And the language listed higher is superior for this usecase within my constraints.
>Actually useful async
async is never useful or necessary for anything
>Powerful iterators that are simple to implement
C++ has this.
>Testing and benchmarking framework
Which doesn't work in #![no_std]
>Standardized documentation format and doctests
No usecase
>Safety
Crashing half of internet is Safe. The word means nothing.
>>
>>107394672
But enough about Rust.
>>
>>107394697
NTA but holy mother of cope.
>>
>>107394715
I accept your concession.
>>
>>107389074
>makes your C slower
>refuses to elaborate
>leaves
>>
>>107394735
>...
>gets his tibia broken with a lead pipe behind a 7/11
this wont go unpunished
>>
>>107394697
NTA
C++ doesn't have proper iterators, they mutate the stream and are not lazy, you can't make a generic functions that takes an iterator in, apply modifications to it and return a modified iterator lazy that's then executed and consumed somewhere else.
Also the streams are a joke.

> doesn't work in no std
That's false
> no usecase for standardized documentation
You are a retard, in rust documentation is as easy to make as comment and it'll generate nice searchable documentation that also works offline.
>safety
You still have no understanding of what memory safety means.
1. The cloudflare crash wasn't rust's fault, this has been extensively debated already
2. Even if it was, a crash is thousands of times better than arbitrary code execution vulnerabilities.
>>
>>107394726
You are a retard if you think it was one.
Go learn something and then give actual criticism of rust's shortcomings, your whole argument is based in lack of knowledge about the subject.
I've used both professionally, c++ for over a decade, i was in the same spot as you not really seing the point of rust.
Now there is no way in hell i to back to that excuse of a language.
>>
>>107394778
Hey redditor, I know it's you and I also know that you're retarded so again, didn't read your shitty post, because I can tell that you don't understand C++ and I am not interested in your hallucination of how it works.
>>
>>107394795
I accept your concession (again).
>>
>>107394697
>Templates are hygienic too.
But they are not procedural. You can't have something like serde in C++.
>No usecase.
That's just cope. People have been begging for a module system for C++ for decades.
>Not an upside.
Headers are one of the most complained feature of C++
>Exists in C++.
There is no destructive moves in C++. There has been some proposals but nothing got traction.
>Exists in C++
You can't have zero cost RAII in C++. See https://youtu.be/rHIkrotSwcc
tl;dw, it's non-descructive moves again
>I don't need performance penalty by default.
That's besides the point.
>Ah great, just perfect for my non-standardized non-app.
Not an argument
>FPtranny nonsense
That's a cope again. Many codebases ban exceptions for a reason.
>No usecase
Destructurization is very useful.
>Exists in C++
No, C++ doesn't support general unsized types, unit types, bottom type and handles zero sized types by adding useless padding which adds additional runtime penalty.
>Exists in C++.
No, C++ still relies on SFINAE
>I'm literally writing free-standing code and every single byte matters, I tried
Yup can do it the language itself lacks any equivalent of core subset and any library you use(standard and 3rd party) might still depend on heap or unwinding.
>async is never useful or necessary for anything
Something like embassy is impossible to archive in C++.
>Which doesn't work in #![no_std]
I have a lot of tests in my #![no_std] project.
>No usecase
Standardized documentation format and doctests and very useful
>Crashing half of internet is Safe. The word means nothing.
Java programs can "crash half of internet" and the language will still be memory safe. What more, in safety critical systems, it's preferred to crash and restart instead of entering invalid state. Reliability of your internet infrastructure and your monitoring systems has very little to do with memory safety and a lot to do with your monitoring systems, orchestrator, CI/CD etc.
>>
>>107394798
I accept your concession
>>
>>107394815
>You can't have zero cost RAII in C++
Stopped reading here, because I verified that in my projects, it is zero cost.
Oh, but let me guess, this isn't about my code, or me, or my projects, this is about your cherrypicked shit code, and us vs them mentality where you have to convince me that Rust is superior even when it's objectively not.
>>
>>107394809
You are brown, i don't care about what retardation you will say after that point, bye.
>>
>>107394843
>Oh, but let me guess, this isn't about my code, or me, or my projects, this is about your cherrypicked shit code, and us vs them mentality where you have to convince me that Rust is superior even when it's objectively not.
No. It is explained in that talk I've linked.

Like I said, it's due to C++ having no concept of destructive moves. That means, that your structures need to support extra moved-out state which adds pointless checks and weakens your invariants.

Here is another video on the topic: https://youtu.be/Klq-sNxuP2g

It's really surprising that for someone who brags about using C++ you seem to not know this basic fact about C++.
>>
>>107394629
You may learn something, you sound like you are either brown or a boomer incapable of learning something new and spouting nonsense to reassure himself and have an excuse not to learn.
You are coping hard.
>>
>>107394897
I know that talk and basically, the guy is a fucking clown, because my smart pointer implementation doesn't have same issue, due to not being overcomplicated std ridden mess.
All he had to do is spend 1 evening writing custom::unique_pointer.
>>
File: screenshot.png (39 KB, 1364x744)
39 KB
39 KB PNG
>>107394914
>It's you who's the problem, not the cult
lol ok, wake me up when you fix your shitty compiler, tranny.
>>
>>107394917
> my implementation
What cniles will have to do to imitate a fraction of our power lmao.
> complains about rust default
> somehow custom implementations are not a valid rebuttal
> uses custom implementations due to rust's shortcomings.
Lmao what a retard
>>
>>107394917
Huh, we got a genius who is smarter than the developers of standard libraries.
Let's see your RAII implementation that doesn't suffer from the overhead of non-destructive moves.
>>
>>107394945
Write good code, and compiler will optimize it just right. Literal non-issue, tranny.
>muh standard
clusterfucked and worthless mess, no real programmer uses that garbage
>>
>>107394939
When I try to roll my custom thing, I keep seeing >>107394928 every time I forget to add --release to cargo build since your aids ridden compiler doesn't even work and hallucinates that it needs unwinding code in panic = "abort' code.
>>
>>107394928
>Can't even understand a linker error.
Lmao i love rust, it filters out jeets like you, keep seething.
>>
>>107394980
Enlighten me about that linker error.
>>
>>107394939
Due to c++'s shortcomings*
>>
>>107394989
Some extern functions couldn't be found.
Pretty obvious, i don't have your code so idk what you fucked up but that's on you.
>>
>>107394994
Uh oh a freudy slippy, would you look at that...
It's okay anon, you can get out of this cult anytime you like.
>>
>>107394968
So, where is the code for the miraculous zero cost RAII?
>>
>>107395008
The function that cannot be found is in the screenshot, so go ahead, read the error, explain what I fucked up.
>>107395015
I don't get paid to shill C++ nor tell you what to do, just in case you misunderstood.
>>
File: 1740232982224227.png (11 KB, 601x203)
11 KB
11 KB PNG
>>107393198
Yes.
>>
>>107395021
> rust_eh_personality
That's clearly something you defined yourself, not the compilers fault if it can't find an extern function you say exist when it doesn't.
>>
No, Rust is certainly not deprecated. In fact, it is growing faster than ever in the industry, including within the Linux kernel itself. The image you uploaded features a project called Fil-C by Filip Jerzy Pizlo, which is a fascinating experimental compiler, but it solves the "memory safety" problem in a fundamentally different way than Rust does, involving trade-offs that prevent it from being a direct replacement.
Fil-C works by taking existing, legacy C and C++ code and making it memory-safe through the addition of a Garbage Collector and strict runtime checks. Effectively, it turns C into a "managed" language similar to C# or Java. The massive advantage here is that you can make old, unsafe code—like the decades-old Linux tools shown in the screenshot—secure without having to rewrite millions of lines of code. However, this safety comes with a performance penalty. Because Fil-C checks memory while the program is running, it is significantly slower than standard C (often 1.5x to 4x slower) and uses more memory.
Rust, in contrast, is designed to be a systems language that competes with C on raw speed. It achieves memory safety entirely at compile time using its "Borrow Checker." This means the compiler proves your code is safe before it ever runs, requiring zero runtime overhead and no garbage collector. This makes Rust ideal for operating system kernels, embedded devices, and real-time applications where the performance hits or pauses associated with garbage collection are unacceptable.
Ultimately, these two technologies target different problems. Fil-C is an exciting potential solution for securing the massive amount of legacy C code that already exists in the world today. Rust remains the standard for building new high-performance software where efficiency is paramount. The existence of Fil-C does not make Rust obsolete; rather, it offers a way to patch the past, while Rust builds the future.
>>
>>107395021
So, where is the code for the miraculous zero cost RAII?
>>
File: screenshot.png (1 KB, 692x46)
1 KB
1 KB PNG
>>107395040
Care to tell me where did I define this?
>>
>>107394928
You could just search it online you know...
If you fail to build that's almost never the compiler's fault, since you don't know the language very well my guess is skill issues, i never had such issues even with no_std.
Also almost no real world software is made with no_std, you seem autistic.
>>
>>107395047
Certainly not in std::
>>107395059
Search what online? Is there a dedicated website that documents why Rust is a piece of shit that doesn't work?
Since you're a nocoder, eh stands for exception handling and also you're a retarded blind trannoid, so I will remind you that my crate is panic = "abort" meaning that I asked for no exception handling. Kill yourself.
>>
>>107395052
That was not me, it's a libc thing afaik, imo you just configured something unproperly or didn't specify the target, idk, imo it's more than likely trivial to fix, also see :
>>107395059
>>
>>107395040
I think rust_eh_personality is required on some platforms, eg if you are trying to compile freestanding no_std project on Linux. Dunno why you would want to do this in the first place, just use build-std or dynamic linking or something. But you can just declare that symbol as an empty function and it won't be called unless you trigger a panic.
>>
>>107395076
My project doesn't link to libc and it's not a libc thing, stop responding, retarded nocoder.
>>
>>107395010
I'm in an airport and distracted by border control, anyway you know exactly what i meant.

You complain about having to do a custom impl for something in rust but have no issues doing so for c++.
>>
>>107395072
>still can't show zero cost RAII implementation
Larp confirmed.
>>
>>107395079
>Dunno why you would want to do this in the first place
Then stop posting, nocoder.
>>
>>107395088
If your project fail to build that's your fault, there is no arguing that, you did something wrong.
Also you don't even know the basics of rust and already play with no std, learn the basics first idk.
>>
>>107395101
Not an argument
>>
>>107395112
Indeed, "why would you want to do this thing that you can do in C++" is not a valid argument.
>>107395111
My project builds just fine when I use C++ and C++ compiler.
>>
>>107395122
>Indeed
Finally we can agree. Have a nice day and enjoy your time with Rust!
>>
>>107395101
The fact that you can build no_std code is a fact, you failing to do so is pure skill issue.
Also, with you being too retarded to figure out something that simple tells me you don't have a proper usecase for no_std in the first place.

But please tell me what project requires you to no_std.
>>
>>107395122
>my project builds just fine when I use C++ and C++ compiler.
My projects builds just fine when i use rust and the rusty compiler.

What is your point exactly other than you don't know what you are doing.
As i said, rust is amazing, it filters out jeets and retards.
>>
>>107395133
>But please tell me what project requires you to no_std.
My project requires this. I don't need your permission to do this, tranny.
>somehow it's my fault that rusttrannycompiler links unwind code in abort crate
lolk
>>
>>107395145
And your project also produces 16k executable, right?
>>
>>107395148
> muh something not worrying working when literally everyone else has no issue is not my own fault, it's the compiler not me being a jeet i swear
> crying wojak.jpg
>>
>>107395157
No it doesn't, but nothing about rust would prevent you from doing it.
>>
File: screenshot.png (33 KB, 1366x768)
33 KB
33 KB PNG
>>107395171
>>107395178
Can you make a serious reply without having a meltdown, jeet?
>>
>>107395197
> i can't build my project, you are the jeet not me, reeeee
Lol
I'm not the one failing to build the most basic projects lmao.
>>
>>107395197
RTFM
https://doc.rust-lang.org/core/#how-to-use-the-core-library
>>
File: screenshot.png (24 KB, 1366x768)
24 KB
24 KB PNG
>>107395240
Care to quote which line helps me?
>>107395231
But the code builds fine in release mode?
Rustrannies can't even cope without lashing out.
>NOOO, YOU ARE HOLDING IT WRONG
>You, a real programmer, are stupid and cannot figure out the compiler, it's not a broken system, it's you who broken LOL! LAUGH AT HIM!
You can either help me right now, or I can accept your concession.
>>
>>107395266
I don't have your codebase, ask yourself what is different in the non release mode and see where you made a mistake.

But it is a fact that you can do no_std code both in release and non release mode, it failing is your own fault.
If the c++ compiler refuse to build i won't start to blame anything but myself.
>>
>>107395301
The only mistake I made so far is trying to use Rust.
Now you can tell me what I did wrong or you can fuck off, nigger.
>>
>>107395266
Start by just making a no_std hello world. It will build, then add your things one by one and see where you fucked up.
>>
>>107395364
Ok done, I made no_std hello world, here's the result: >>107395197
>>
>>107395266
>Care to quote which line helps me?
CTRL+F "rust_eh_personality"
>>
>>107395324
> doesn't know rust
> doesn't even learnt the basics and immediately tries to build some jeeted no_std project with a billion workspace members.
> fuck up somewhere
> blame the compiler
> not my own fault saar, rust sucks waaaah
Like clockwork, i love rust, it filters out retards and browns like you.
>>
>>107395378
Can't follow simple instructions in the documentation.
What even is your jera crap.

A no std hello world would not bother with workspace. God it's not a whole lot of change from cargo innit what are your even doing...
>>
>>107395395
I think I'll stop arguing with browns and nons lmao.
Dude is incompetent and blame everything but himself.
>>
File: screenshot.png (18 KB, 1364x744)
18 KB
18 KB PNG
>>107395424
>Design a retarded shitlang that makes it prohibitively difficult to do anything without 9999 microcrates
>OY WHY WOULD YOU HAVE MICROCRATES?
How mentally are you?
>>
>>107395467
Keep this thread alive for the next 24h and when i get home i'll show you how retarded you are.
Making a no std hello world is literally less than 3 minutes of work if your are not brown.
>>
>>107395494
Yet you never did it? Or why are you struggling to tell me which part of this is my fault?
Reminder:
% tail -n2 .cargo/config.toml
[net]
offline = true
>>
File: 1755349356722342.png (673 KB, 866x946)
673 KB
673 KB PNG
good credentials but was the instagram tier selfie taking 80% of the page necessary?
>>
>>107395536
By revealing himself as a middle aged white landowner he's filtering out most of the people in open source that are not pleasant to talk to.
>>
>>107395524
You can't do it yourself in spite of having your jeet codebase and you expect me to without having it.
You can fuck off.
I'll show you a no std hello world tomorrow if someone doesn't do it before.
I'm about to board a plane so i don't have my computer with me rn.
>>
>>107395587
>i-i-it's your code I swear even though I don't have it
ok rachel, not beating toy shitlang apologist axewound allegations
>>
>>107395611
When thousands of devs have no issues using no std, and software is built with it. Yes, the issue can only be you, especially since you acknowledged not knowing rust.
>>
>>107395611
>>107395816
If i write broken c++ and it doesn't build, noone that's not a retard would blame the compiler instead of me.
>>
>>107395854
Because C++ is older than you and rock solid.
Can't say same about your toy shitlang.
>>
>>107395816
Can you name any?
Other than buttplug-rs, I don't care to have an .unwrap() accident in my asshole.
>>
>>107396000
>Can you name any?
NTA. I use no_std and don't have any such issues.
>>
>>107396029
Link to the project?
I mean, I am going to assume it's something that people use in the real world and it's not just a hello world like mine, right?
>>
>>107396000
Pm all smart contracts written in rust, i know that crypto is a meme but just to give you an example used in production with millions on the line.
Other than that tons of esp32 are programmed with rust, and whilst you can use the std, a good proportion of the projects are no_std.

Also a lot of wasm webshit uses no std.
And lastly if you think unwrap shouldn't exist you are a retard and no programming language is gonna stop you from writing "if this fails, exit the program with an error" which is basically what unwrap does.
>>
>>107396049
>Link to the project?
It's work in progress.
But if you want something that is publicly available, you can check out esp-hal that I contributed to while working on my project. you can find it here: https://github.com/esp-rs/esp-hal
>>
>>107389133
>>
>>107396049
>>107396053
Also, in the real world there are almost no projects where no_std makes sense, it's less than 5% of projects you'd write.
>>
>>107393198
garbage collection is bad when memory is allocated implicitly and per-resource. MLKit has good garbage collection too.
>>
>>107396090
I'm the 1%, which is why it's funny to me that you worthless retards claim that I am incompetent and your shitty toy compiler isn't the problem.
>>
>>107396074
Ok so you have nothing of value to show me but you are happy to tell me that I'm using your toy shitlang wrong, did I read that right?
>>
>>107396111
>you worthless retards claim that I am incompetent
Well, your entire problem with rust_eh_personality comes from the fact that you can't understand "how to use the core library" section in Rust core documentation. Even when directly linked to that part of documentation you still couldn't follow it and started throwing slurs.
>>
>>107396089
The C "standard" was made by looking at Dennis Ritchie's C compiler source code and trying to figure out what it did.
>>
>>107396142
>Ok so you have nothing of value to show me
Check out this repo: https://github.com/esp-rs/esp-hal
>>
>>107396145
Could you write in plain English without inbetween lines cope?
Are you insinuating that I should
>use nightly version
>download 500 dependencies from crates.io
>compile core crate
Because I've been trying to avoid it since Rust isn't a toy and doesn't require me to use unstable experimental builds to do something as simple as roll my own runtime from scratch?
I repeat, I successfully did this in C, C++ and even Zig, Rust is the only language that gave me problems.
>>
>>107396174
>Could you write in plain English without inbetween lines cope?
>Are you insinuating that I should
All I insist is that you should read the documentation.
https://doc.rust-lang.org/core/#how-to-use-the-core-library
>>
>>107396193
>but crates which do not trigger a panic can be assured that this function is never called
Did I read that right?
>>
>>107391520
>C++
c++ is C codelet
>>
File: screenshot.png (30 KB, 1364x744)
30 KB
30 KB PNG
>>but crates which do not trigger a panic can be assured that this function is never called
>Did I read that right?
Well, did I? What's the holdup? Tell me, did I read that right?
>>
>>107396208
Yes. rust_eh_personality is one of few symbols you need to provide in order to properly link no_std project. It corresponds to GCC built-in eh_personality but since you are doing freestanding binary you gotta provide it yourself.
>>
>>107396352
But I don't need to provide it because it's never called according to documentation and provable experiment in >>107396312?
#[panic_handler]
unsafe fn nothing_ever_happens(_: &::core::panic::PanicInfo) -> ! {
loop {
unsafe { ::core::arch::asm!("mov rax, 0x666") };
}
}

If compiler doesn't emit this, then panic can never happen, therefore rust_eh_personality has 0 reason to exist.
So tell me, did I read that right?
>>
File: practical_c_oualline_3e.jpg (296 KB, 1371x1800)
296 KB
296 KB JPG
>>107392197
>>107390056

Which engine?
>>
>>107396378
>But I don't need to provide it
RTFM
https://doc.rust-lang.org/core/#how-to-use-the-core-library
>This library is built on the assumption of a few existing symbols:
>rust_eh_personality
You literally need to provide this symbol in order to use libcore
>>
>>107396400
Thanks, I'll stick to language where -fno-exceptions does what it says.
>>
>>107396404
>Thanks
No problem. Rust is not a language for everyone.
>>
>>107396422
Certainly not for someone who doesn't like being in a cult and needs control over his compiler.
>>
The cult of reading documentation.
>>
>>107389074
>wonder why i havent seen this before
>it isnt memory safe at all
>its really fucking slow, too
jesus christ
>>
File: screenshot.png (5 KB, 686x226)
5 KB
5 KB PNG
>>107396444
>Le unstable feature
toy shitlang
>>
>>107396384
Helion
>>
>>107389607
Seems like it's only about 5x worse performance nowadays. Which begs the question of why you'd use it in place of something like C#, which has similar performance with far better
language features. I guess it could have a niche in existing C projects though.
>>
>>107389074
>memory unsafety is out to get me
what is this condition called?
>>
>>107397352
Using C.
>>
>Garbage Collection bad. Java bad. C# bad. Rust borrow checker bad
>I added garbage collection to C
>Garbage collection good
Pick one you faggots
>>
>>107397379
>GC bad
>C with GC is still better than Rust
Find a contradiction.
>>
>>107397433
Contradiction is that it's slower than java
>>
>>107397459
>LLM hallucinates incongruent response
No surprise there.
> it's slower than java
Proof?
>>
>>107397433
C is worse than Rust and C++ already, and even with GC it's still worse.
>>
>>107396149
>Rust hasn't made the same mistakes as C
>well ok maybe it has, but it's fine when Rust does it
>>
>>107397521
I didn't ask about your estrogen-soaked opinions. I asked: where's the contradiction? Protip: there is none.
>>
>>107396149
>The C "standard" was made
Ok. Now where's the Rust standard? Was it made
>>
>>107392927
>the shit everyone evangelizes for Rust over is just a bonus ackshually
OK so what makes it le comfy?
>>
Rust is exactly like trannies in that it's virtually irrelevant and nonexistent in the real world but 4chan acts like it's some big Current Thing. Goes to show chantards are way more susceptible to corporate brainwashing than normies.
>>
>>107389074
is this tool useful to catch bugs?
>>
>>107389074
>uses Github
ngmi
>>
>>107397617
A bunch of it has been listed in the thread, but it just has many nice qol features and is overall well thought out.
I like streams, i like trait, i like metaprograming, i like that i can just derive(Serialize, Deserialize) over a struct definition and now it can be converted to and from any format known to man be it json, toml, etc.

I can just derive fromrow and now it's natively compatible with sqlx queries.

Just a ton of quality of life features and the ecosystem is great overall.
It just feels like a better more well thought out c++ to me, also there is amazing built-in standardized doc, and a standardized build system instead of the mess with cpp having a gagilion different system and none of them works really well.
>>
>>107397647
It is everywhere, and in more and more places, you are just in denial lmao.
Its growth rate is also exponential.
>>
>>107398352
Memory corruption bugs yes.
Logic bugs no, though we do have formal verification now but no language is gonna prevent you from being retarded, even with formal verification you can still write retarded specs and have a retarded architecture.
>>
>>107397617
Everything is comfy compared to c++
>>
>>107396458
The whole point is that once a feature is "stable" it will never change, them being careful what they add to the std is a good thing.

You can't both want a fast moving std and one that will always be backward compatible.
That's why we have nightly, for those that want features that have not been finalized yet.
>>
>>107396155
And he has been silent after it and went on other sideline like a proper jeet would
>>
>>107398514
Yes but there aren't a lot of languages that perform on the same level as c, are not garbage collected and are comfy.
Your only choices are basically rust and zig and imo rust is a lot nicer for now, more established and has a better ecosystem.

Zig is promising but it's too beta rn
>>
Did some guy in this thread really have a melty because he was too dumb to figure out how to compile his broken code?
>>
>>107398575
Didn't waste my time looking through your toy library, post real software.
>>
File: 182.jpg (18 KB, 300x100)
18 KB
18 KB JPG
>>107398548
>#![no_std] is stable
>requires 999 hoops before anything compiles
>will never change
>>
File: G5b4ZLWbcAAGWPg.jpg (45 KB, 490x498)
45 KB
45 KB JPG
>runtime borrow checker with trashy C syntax but without C ABI stability
Rust buck broke cniles so hard they are now using the shittiest GC imaginable.
>>
File: crab-knife.png (12 KB, 749x750)
12 KB
12 KB PNG
>>107399889
>.unwraps() all over your face
>>
>>107394403
Rust has real pattern matching.
>>
>>107399780
It literally requires nothing, you are just a retard.
>>
>>107399913
You are making a fool of yourself, there is nothing wrong with unwrap existing...
>>
>>107397593
>Now where's the Rust standard?
https://rust-lang.github.io/rfcs/3501-edition-2024.html
>>
>>107400424
Oh really?
So I went from not needing rust_eh_frame to needing it and now I don't need it again.
Can trannies stabilize their mental illness?
>>
>>107389607
You forgot:
- You don't have to rewrite your program.

Cope and seethe.
>>
>>107400556
I'm not the one you were talking with.
As i said, wait tomorrow and I'll give you a basic no std hello world, this literally takes 5 minutes but I'm not home yet.
>>
>>107400570
I don't care who you are, you all are mentally ill freaks and total NPCs who got assblasted by reality of your beloved shitlang not working.
>>
>>107400583
Says the jeet that can't even compile a hello world lmao.
You could literally ask the llm, it's probably smarter than you at that point, and that says more about you than the llm.
>>
>>107400589
LLMs don't have intelligence but even they are tired of your shit, tranny.
>>
>>107392197
Perhaps being C# made it easier for the author to design it better than any C engine... Did you think of that?
>>
>>107400640
>Kek, he's too retarded to even prompt a llm.
Literally just ask Claude : rust no std hello world.
Don't try to fix your broken mess, start with something sane.
>>
>>107400656
No thanks, I'll just listen to a LLM like you wanted me to.
>>
Thanks for telling me to use a LLM, I'm genuinely impressed by how well it works.
>>
>>107400670
You are a retard of the first order.
If you fail to do something as trivial i doubt you would even have an usecase for it.
Anyway as i said keep the thread alive until tomorrow and I'll give you a solution repo, again, I'm not home until then.
>>
>>107400706
And you are a seething webshitter.
>>
>>107400703
> the llm is totally not mirroring my own biases.
Enjoy your ai psychosis because you don't understand what a sycophant is...
>>
>>107400717
I don't do webshit retard.
>>
>>107400720
Yeah I'm sure it pointed out everything wrong with Rust just because it was prompted to agree with me and not because it's true.
>>
File: 1764617152918636.png (931 KB, 960x956)
931 KB
931 KB PNG
>just use a llm
>no not this one
>no, not like that
>um actually, llms just agree with what you think, you shouldn't have used one, you're absolutely psychotic!
>>
>>107400765
I literally told you to prompt a specific thing so that it'd tell you how to do it because i can't show you until tomorrow and you did everything but that.
You are a retard.
>>
>>107390955
LLVM is by definition platform and language agnostic
>>
>>107400777
Too bad I will prompt what I want and here's some proof that it's not biased.
>>
>>107400802
Retard will literally prompt anything but what i told him to.
You must be trolling at that point.
Also only believing the llm when it's convenient for him, kek.

A no std hello world literally takes 3 minutes, no you don't need nightly or some stupid bs you attempted to do.
You are a retard and that's it.
And as i said, if you keep the thread alive til tomorrow I'll just make a repo to show you.
>>
>>107390955
You can use rust without llvm at all.
>>
>>107400834
Keep crying.
>>
>>107400838
> you've correctly blah blah blah
Sycophant again.
Your are wrong, and your are a retard.
Can't you just wait till tomorrow instead of keeping with your nonsense, i keep telling you it's just skill issue, if you think rust can't make a no std hello world and it's not your own mistake you are a retard....
>>
>>107400838
Also my guess is that you just failed to specify the target.
>>
>>107400853
I accept your concession.
>>
>>107400863
>my guess is that it's your fault, my trannylang toy is infallible
Sure thing, and you're a woman, right?
>>
File: 1752793572723352.png (339 KB, 2440x1334)
339 KB
339 KB PNG
LOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOL
>>
>>107400881
What does this even do?
Imagine mental illness required to justify this.
>>
>>107397647
>I see patterns everywhere
So did that faggot you idolize, sit in front of a train like he did while people with jobs ignore you like we ignored him
>>
File: .jpg (23 KB, 680x690)
23 KB
23 KB JPG
>>107400640
>>107400670
>>107400703
>>107400717
>I'll let a chatbot do my arguing for me!
>>
>>107396458
YOU NEED TO PROVIDE rust_eh_personality SYMBOL YOU ABSOLUTE RETARD.

You do not need to mess with any unstable feature. Just how dumb do you have to be to not be able to understand single paragraph in the documentation, you illiterate. Stop larping as systems programmer if you can't understand basic linking concepts. How did someone like you even found this website.

Just provide the fucking symbol. Add no_mangle to it and call it a day.
>>
File: doglol.jpg (259 KB, 1080x1298)
259 KB
259 KB JPG
So is "no use case" the new "bloat" where a retard thinks he's being a genius by badly dressing up an emotional opinion as something resembling fact
>>
>>107400991
Arguing requires two people though?
Me and who? You don't qualify btw.
>>
>>107401008
rust_eh_frame is an unstable implementation detail and I shouldn't need to do this in panic = "abort", not sure what to say besides get mental help before you kill yourself
>>
>>107389074
Rust compiler is BLACKED so no.
>>
>>107400881
Try it with #[thread_local] instead. The thread_local! macro is some kind of higher-level abstraction
>>
>>107401042
You don't need rust_eh_frame. RTFM
>>
>>107401059
sure thing, I need to provide the symbol and also I don't need to provide the symbol and your tranny shitlang isn't broken and all of these statements are true and you're cute and valid woman too.
>>
>>107401093
You need to provide rust_eh_personality symbol you absolute retard.
>>
>there are retards itt that literally talk to gAI and paste their conversations as if it's some form of valid argument or proof
I fucking hate this gAI shit.
>>
>>107401097
sure thing, I need to provide rust_eh_frame and don't need to
>>
>>107401019
I accept your concession
>>
>>107401097
>>107401105
>rust_eh_personality
>rust_eh_frame
Illiterate retard
>>
File: 1763514631151131.png (104 KB, 803x480)
104 KB
104 KB PNG
The painful truth is that Rust marketed itself as a systems language to gain credibility, but its design choices optimize for a different problem space. When you actually try to use it for traditional systems work, you discover the marketing doesn't match the reality.
>>
>>107401133
It is common practice for programs to refuse to start when feed an invalid config. Guess what does the traditional nginx do when you do this?
>>
>>107401133
What does your picture have to do with what you are trying to say?
>>
>>107401144
nginx has a config checker so it doesn't do anything
>>
>>107401133
Rust is a better systems language than C and C++.
>>
>>107401133
We're going to have to deal with brainlets reference the cloudflare fuck up for the next 10 years huh
>>
File: 1754885495938428.png (345 KB, 2440x1334)
345 KB
345 KB PNG
>>107401056
>>
>>107401133
The fact that Rust has a concept of no_std that can be stated in the source file makes it objectively better than any systems language I've used. Enjoy twiddling with compiler flags and nonstandard attributes for basic shit like inline asm, let alone naked functions. kek. Using something like embassy is 1000x easier than anything I've tried in that space as well.
>>
>>107401153
>nginx has a config checker so it doesn't do anything
Not quite. It prints the error and then exits.
$ nginx -c ~/Desktop/kek/broken.config
2025/12/02 02:40:31 [emerg] 3815831#3815831: unexpected end of file, expecting ";" or "}" in /tmp/broken.config:2
$
>>
>>107401179
In C++ I just disabled standard library linking and it immediately only requires _start, -fno-exceptions respects my choice perfectly too, no hidden symbolslop unlike in your tranny toy.
>>
>>107400915
One doesn't use thread local despite being declared as such and the other does. It's sort of like the hack where C++ compilers will use non-atomic ops for shared_ptr if it assumes no threads are used.
>>
>>107401187
Why don't you run it through checker instead of running nginx directly on a broken config then?
Is this the genius that caused global outage?
>>
>>107401198
Ok and? Now do it with cl.exe or any other non GCC compiler. They all behave wildly differently for freestanding and they all suck. Rust works everywhere relevant and the semantics is encoded in the actual language.
>>
>>107401200
LOL NO. TPOFF is thread storage.
>>
>>107401221
Works the same on clang.
>now do it on irrelevant alternative #744654
as opposed to rust where I only have 1 choice and it doesn't work?
>>
>>107401204
>Why don't you run it through checker instead of running nginx directly on a broken config then?
Because the result is the same. Feed broken config, the proxy can't start.

>inb4 why did they used broken config in the first place
Ask cloudflare. That's beyond the scope of nginx or pingora either way.
>>
>>107401240
well maybe if you checked the config and fixed it, it could start? Have you ever thought of that?
>>
>>107401237
It works fine on rust. You're just retarded.
>>
File: filc.png (622 KB, 2838x1204)
622 KB
622 KB PNG
>>107400881
so this is the price of "safety"
lmao
>>
>>107401204
The outage was caused by a SQL query that didn't filter out things that weren't included by default.
>>
>>107401252
Incredible idea
>>
>>107401259
Sure thing, keep telling yourself that.
>>
>>107401260
Holy bloat
>>
>>107400866
NTA but i just did a no_std hello world to show you that it can be done and is trivial to do :
https://github.com/alkeryn/rust_hello_no_std

now you accept your conccession and that you are filtered by even something as trivial as a hello world.
>>
>>107401237
>heh gcc implicitly puts memset in my binary for me, that means it's the same for every c++ compiler.
Retard.
>>
>>107401265
I know right?
Imagine using nginx -t before you send SIGHUP
>>
>>107401286
Except it doesn't implicitly use memset?
I had to write my own.
Do you retarded worthless nocoders actually program?
>>
>>107401260
they never said is not going to be slower, use the same amount of memory or not be bloated in some ways.
the idea is to just provide and easy fix for what the memory safe bs.
>>
>>107401283
Typical rusty nail doxxing themself over a schizo argument
>>
>>107401314
> doxying himself
i don't give a shit, i don't have anything to hide and i'm not the dude you were arguing with anyway.

do you honestly think i didn't knew i was sharing my identity with this repo?
>>
>>107401178
Well that's annoying. I never realized it was that bad. I wonder if rustc is defaulting to a different linker mode that causes this, or if this __tls_get_addr overhead is unavoidable
>>
>>107401283
Except your worthless hello world does not represent what I have, try writing a real program in it and you'll hit same compiler error, useless nocoder.
>>
>>107401178
Try using LTO
>inb4 rustoid compiler is so pozzed not even linker can unfuck it
>>
>>107401345
> muh goes on a tangent.
if you can build a hello world, you can build anything.

don't pretend you had something complex when you couldn't even get past the point of a hello world.
you generaly start something simple and add to it, it failing to build due to something as dumb as a linker issue means it probably never worked in the first place otherwise you'd know what change broke your code, you shat shitty code that was probably llm generated, it didn't build and you blamed the compiler.

you are now just coping because you got filtered by hello world lmao, you have nothing real to show for.
>>
>>107389074
I’m so sick of hearing about memory safety holy fuck. That’s like the least selling point of any piece of software.
>>
File: %22senior%22.png (164 KB, 919x782)
164 KB
164 KB PNG
>>107401325
I didn't expect you do be this non-chalant about it. Senior after just two years, kek.
>>
>>107400881
sasuga scammer kun...
>b-but position independent code is tranny
>>
>>107401345
>>107401373
> try writting a real program with it
> uses no_std
you openly admited that it was a hello world : >>107395378

you are just now backtracking.
>>
>>107401382
i worked as a senior, that was my title, what do you want me to say?

i'm currently cto of another meme crypto mining company, anyway, i'm not the guy you were arguing over before this shit.

still, just admit that you couldn't build a no_std hello world and that it wasn't the compiler's fault.
>>
>>107400449
its an unfortunate choice of symbols
the low brow puns are just too irresistible
>>
>>107401373
This would be logical argument in a real professional and stable compiler, not Rust though, Rust is a special snowflake secure in its diarrhea that it starts releasing the moment you use modules, workspaces and anything that may potentially panic in a hidden obscure way, because muh safety, so no, you worthless mouthbreather, write a real program without hitting that compiler error and show me.
>>
>>107401383
usecase for dynamic libraries?
Rust barely supports them anyway, so why does it pay the bloat that comes with them?
>>
>>107401382
He's more senior than you will ever be. You couldn't even write freestanding hello world for x86 linux...
>>
>>107401400
> in a real professional and stable compiler
rust is almost 15 years old, and it is stable by all account, someone just showed you that the issue was not the compiler but you being a retard ie skill issue, and now you are coping.
>>
>>107401382
>Senior after just two years
That's how the industry works dude.
>>
>>107401387
I'm not backtracking, I'm telling you to keep going, mr senior developer who cannot write a real working no_std program in his beloved language with 0 external dependencies for some reason.
>>
>>107401421
yea, also, for the record, i've started programming in c when i was about 9 years old and won hacking competitions before even starting my career so yea you could call me a turbo autist but i believe my title is more than well deserved.
>>
>>107401417
Wow, Rust is almost old enough to post itself on this website and still doesn't work.
>>
>>107401404
>u-use case for basic cnile mitigations like aslr?
I bet you don't even know you can aslr static binaries too.
>>
>>107401406
>>107401397
I (>>107401314) am not this (>>107401427) guy.
>>
>>107401427
> mr senior developer who cannot write a real working no_std
mr genius who can't even write a hello world
lmao you can't make this shit up, you even admited that it was a hello world :
>>107395378

you are just coping and finding excuses now.
> muh it's the compiler, i swear saaaar
>>
>>107401404
Because rust binaries are dynamically linked despite all the cope
>>
>>107401456
you can make static builds, it's pretty trivial and we did it for prod deployment on alpine.

also you can make them small, you can make a 300 bytes hello world if you realy want to, there is nothing preventing you to making it near identical to a c binary.
>>
Is this guy that couldn't write hello world for real or just some rustcean doing some falseflag? What a fascinating specimen. I've never blamed the compiler when I've had a brainlet moment wondering why garbage code wouldn't compile.
>>
File: aslr.png (37 KB, 953x288)
37 KB
37 KB PNG
>>107401445
Oh I do. ASLR has a lot less bloat when you use the proper linker flags.
>>
>>107401452
I'm not sure if you noticed but I was trying to use it unironically and not write a half assed inline assembly directly in _start toy so it's not the same thing, surely a senior engineer would know the difference?
>>
>>107401473
no, he literally couldn't write a no_std hello world and argued for a whole day that it was the compiler's fault with someone that was traveling and didn't have a computer to prove him wrong.
then someone else just made it and now he's seething kek
>>
>>107401486
that's irrelevant, my whole point is that you could change it to any level of complexity, this is just an hello world, and again, you claimed many time that it was just a hello world and that it'd not build and it was somehow the compiler's fault when the issue was your jeeted code.
>>
>>107401498
>>107401486
again : >>107395378

i told you to start with a hello world, then add your things one by one to see where you fucked up, then you said it was a hello world, saying the compiler couldn't even build that.

then someone showed you a working hello world, and now you are coping saying "muh complexity" you are missing the point and are just showing your own incompetence.

just admit that you are wrong ffs.
the repo didn't use nightly features, didn't use any eh whatever.
it's just simple.
>>
>>107401498
And my point is that it's multiple crates and has proper macro for printing text and formatting numbers too, completely irrelevant that it still amounts to a hello world, when it has more code and is more usable than writing each syscall inline, worthless faggot, kill yourself. I'm happy that I got this retardation at hello world stage, imagine if I fell for RIIR meme completely and even deleted my C++ code.
>>
>>107401486
> saar, it's the compiler fault i'm incompetent and can't even write a hello world, the compiler is broken it's not me i swear saar, that other guy that did it to prove me wrong cheated, he used magic saaar i swear.

lmao, i love rust, it filters out jeets and i never have to deal with them at work.
>>
>>107401526
that's irrelevant, i told you to start from a hello world and add your shit one by one to see where you made a mistake, and you literaly claimed that it WAS a hello world : >>107395378
stop copying, there isn't a magic level of complexity where it randomly stop working, you are just showing your incompetance now, admit defeat or fuck off.
>>
>>107401532
Don't have to meet jeets at work when there's no rust jobs lmao
>>
>>107401526
the fact that you are filtered by a hello world tells me you haven't written anything of value in your whole life.

>>107401543
this guy literaly worked with rust on hist cv: >>107401382

and there are tons of people using it professionaly, stop lying.
>>
>>107401539
So true, it's my code magically depending on rust_eh_frame without me knowing and absolutely nothing in rust is broken
>>
>>107401543
I literally write everything in rust at work and I mostly do windows dev.
>>
>>107401555
> write broken code
> complains the compiler is not compiling

and don't pretend for a second that c++ will not give you a gagilion lines of errors because of a single line error.
again, skill issue, that's beside the point, you fucked up something and got filtered by something as simple as a hello world, then blamed the compiler, then someone showed you proper code and now you are coping you are brown.
>>
>>107401568
You literally glue 3rd party crates at work which is the opposite of what I am trying to do right now. I'm sure you're arguing in good faith right now because you're mentally ill so it's fine.
>>
>>107401572
>use something from core crate
>code is broken
sure thing, tranny
>>
File: file.png (345 KB, 1357x758)
345 KB
345 KB PNG
>>107401583
> can't write a hello world
> everyone is mentally ill waaaah

good morning saar
>>
>>107401596
again, you wrote shit code and blame the compiler, someone literaly showed you that there is no issue writting no_std code in rust.
you are brown
>>
>>107401583
Honestly, you'd be surprised. A lot of the job is just doing detours because of broken nonfree software... I use no_std more on Windows than Linux, kek.
>>
>>107401611
So true, code is so broken that it compiles correctly in release, just not in debug build, just rust things
>>
>>107401572
C++ doesn't give me errors because it is standardized language that just works and doesn't create imaginary problems where are none.
>>
>>107401626
> uses a different profile for release and debug
> complains that it only works in one of the two

why are you so retarded ?
the hello world that was shared works in both profiles, again, skill issue.

YOU ARE BROWN.
>>
>>107401639
lmao, go compile any big c++ software and see the pile of warnings because of a single line.
you can literaly forget a semicolon and end up with 400 errors with that lang.
>>
>>107401626
>>107401643
post hands or shut the fuck up you fucking jeet.
>>
>>107401643
>different profiles are different
yes, that's the point, but if you weren't mentally ill, you'd notice that when code is buggy, debug isn't what gets miscompiled
>>
>>107401676
>different profiles are different
my point is that you must have misconfigured one of the two profile, so again, your fault.
the hello world that was shared had no such issue, the issue is YOU and YOU alone.

you are incompetant, admit it and move on.
you couldn't even make a fucking hello world for fucks sake.
>>
>>107401688
I posted my profiles, feel free to point out which part I misconfigured
Retarded nigger grasping straws even when proof is right here.
>>
>>107401702
you posted one file of your whole repo, for all i know one of the workspace member could be completly broken.
and i'm not here to debug your jeeted code, the issue is YOU.

nothing in rust prevents you from doing no_std trivialy, nothing prevents you to grow the program to any level of complexity, you are just a retard.

and again, why i love rust, filters out retards like you.
>>
>>107401702
>>107401718
also post hands or stfu.

YOU ARE BROWN.
>>
>>107401718
>mentally ill tranny doing historical revisionism in same thread where everything was posted
>>
>>107401742
> this is not a hello world i swear, this is muh complex software, rust can't build, compiler's fault saar
> this is just a hello world, not even complex software, compiler's fault saar, rust can't build

pick one : >>107395378
>>
>>107401756
That's not what I wrote, learn to read saar.
>>
>>107401765
> still hasn't posted hands
jeet seething lol
>>
>>107401769
Why are you stating your nationality and telling me your emotional state? I already knew, but thanks for assurance.
>>
>>107401742
does this dude looks like a tranny to you ?
>>107401283
you are just coping
>>
>>107401796
Yes.
>>
>>107401811
bad faith.
he doesn't even display faggot pronouns.
>>
>>107401822
That's how I know that the pooner is real.
>>
>>107401833
> jeet jealous of a white man
lol classic.
>>
>>107401852
You aren't white unless your hair is naturally golden, mutt.
>>
>>107401866
> says the jeet
he says he's from switzerland so he's more than likely of european descent, so not an amerimutt.
>>
>>107401866
> didn't deny he was a jeet
lol
>>
>>107401880
His hair is brown just like your skin so he isn't european
>>
>>107401888
I don't recall you denying being a tranny either.
>>
holy shit SHUT THE FUCK UP
>>
>>107401907
well i'm not one, a tranny wouldn't use words like "jeet" and "faggot".
they'd go on tengent about how troons are valid or some shit.

also:
> muh rust devs are all trannies
> someone shows a rust dev that doesn't appear to be one
> he uses rust so he must be a tranny

nice circular belief anon.
>>
>>107401917
tangent*
>>
>>107401900
at least he's not filtered by a hello world lmao
>>
>>107401912
why are you mad lil bro
>>107401917
holy yap didn't read allat
>>
>>107401932
Not all of us can be professional hello world writers.
>>
>>107401949
if you can't even write a hello world you can't be a professional anything related to computers.
>>
>>107401960
That's fine with me, since rust is the only language that failed to compile for no reason.
It was easier to setup LISP for bare metal, but I'm sure it's me who's the problem and not rust.
>>
>>107401975
>rust is the only language that failed to compile for no reason
the reason was you being a retard, as it was shown, making a hello world is trivial, if you were filtered by it it's just you being a retard.

> but I'm sure it's me who's the problem and not rust.

yes
>>
>>107402029
But I heard that Rust was made for retards and will protect me from everything, what went wrong?
>>
>>107402044
>I heard that Rust was made for retards
no, that's go.

the point of rust is to prevent memory safety types of bugs and vulnerabilities.
but yes, part of it is being done by filtering retards that can't into the learning curve.
it literaly filters out jeets because they can't grasp the borrow checker and the compiler won't let them shit code that smells of manure.
>>
>>107402044
>>107402062
also retards tend to know their own limitations and not attempt to write no_std, you were so retarded that you didn't even understand your incapacity to do it.
>>
>>107402062
What does borrow checker have to do with core crate pulling in useless symbols that will be optimized out anyway?
Are you ok?
>>
>>107402078
my guess is that you explicitely told the compiler to pull those symbols, again, the no_std example provided had no such issues, because it was doing it correctly.
just admit that you fucked up somewhere already.
or idk, share your whole repo and give use the opportunity to tell you exactly where you made a mistake.
it's more than likely a one liner fix because you forgot something.
>>
I also noticed that Rust generates strictly inferior machine code in some places so no wonder it cannot match 1:1 performance with C++, this meme was just a cherry on top of your cow cake, saar.
>>
>>107402097
I already posted a grep of that, my guess is that you seriously are mentally ill which is really funny.
>>
>>107402103
lies.
in many case it can generate better code for 2 reasons.
1. it is more expressive and allow passing more information to the compiler
2. it has better simd intrisics.
>>
>>107402113
i'm asking for the whole codebase, not some bullshit grep, it's not about the eh_whatever thing.

if you have a broken c++ codebase you can't expect people to always be able to fix it just with a compiler output when they can't see your code.

you fucked up somewhere, that's a FACT.
>>
>>107402131
I was never asked for whole codebase.
>>107402117
Don't care about your theoretical babble when I have provable 1:1 comparison where Rust fails at hello world stage.
>>
>>107402168
i asked for it multiple times see:
>>107395301
>>107395587
> Don't care about your theoretical babble when I have provable 1:1 comparison where Rust fails at hello world stage.

please do, there is no c++ output you cannot generate with rust, especialy if you use llvm for both.

in most cases you'll have identical or nearly identical generated assembly.
also, hello world isn't a benchmark.
>>
File: 1743990373201760.gif (44 KB, 226x176)
44 KB
44 KB GIF
>hello world isn't a benchmark
>>
>>107402212
i'll just stop arguing with you, you are brown you know you are brown, and you can't even write a fucking hello world, you are a waste of space.
>>
>>107400652
I think they chose c# because it was just easier and took way less time to develop.
>>
>>107402223
Hello world isn't a benchmark.
>>
>>107402168
>>107402184
admit that you are scared to share your codebase because we'd see how much of a jeet you are, we would find where you fucked up, and you'd look like a damn fool.
until you do share it that's what everyone is gonna think of you.
>>
>>107402251
who is everyone and are they in the room with us right now?
>>
>>107402301
That everyone probably includes people like myself and other bystanders. I've read the thread and laughed at your flailing these past few hours.
>>
>>107402320
dude, the man is a genius, he has custom implementation saar and zero cost RAII in c++ saar lol
>>
>>107402244
i meant to quote the dude that couldn't make a hello world btw lol
>>
>>107390056
it is the fastest in spite of being written in C#, it is the fastest due to design.
>>
>people still not clocking that fil-c is a rust insider joke



[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.