What's the point of using C++ or Rust when you can achieve identical performance and safety using Span<T>, ref structs...

What's the point of using C++ or Rust when you can achieve identical performance and safety using Span, ref structs, stackalloc, and Ranges in C#?

Attached: tenor.gif (220x220, 9K)

Other urls found in this thread:

en.wikipedia.org/wiki/Read-copy-update
techempower.com/benchmarks/#section=test&runid=036fcd14-bcf8-4758-863f-bacd15faf6b6&hw=ph&test=plaintext
twitter.com/SFWRedditVideos

C++ compiles straight to binary. C# doesn't as it requires a VM layer. so anything with strict performance requirements (3DCG, simulations) makes C++ a superior choice.

>muh gaymes and simulations
Grow up.

are you retarded? 3D isn't just games. use your brain and ponder how 3D exists in every single industry please.

Vizualization shit isn't truely interactive. GC pauses are acceptable. In fact, modern gaymeme engines use a GC. Gaymemes aren't ss performance critical as people think. Developers would happily sacrifice 10% perf for 10% productivity.

>3D is just games
Grow up.

...

This is not the case anymore with .NET native.

>GC pauses are acceptable

early 2000s called, they want your philosophy back.

.NET native isn't an automatic performance improvement. it's just a translator at its core.

I bet you play Fortnite little zoomer without realizing it uses a GC.

most computer programming is for general use. If performance matters dedicated hardware will be used. Goggle is pushing hard for general AI accelerators. no sane person will do raster graphics with CPU anymore thats dead for 22 years now. FPGA will be generic enough to do the critical path. C++ is a meme compared with VHDL . Video encoding & decoding crypt code all is now special hardware look at a modern smarthphone soc. Intel will push this forward with sunny cove. Do you think any router switch will use C++ and x86-64? Rust,C,C++,python,js,java its doesn't matter x86 is nothing more than a fancy DMA controller in my eyes.

there isn't even an ISA for your shitty SoC memery. shut the fuck up pajeet lmao.

Lunix uses a GC: en.wikipedia.org/wiki/Read-copy-update
malloc/free is a GC in any case.

Almost any embedded platform comes only with a C/C++ toolchain

- compile JavaVM
- remove C compiler
- Use Java

1 poo has been deposited to your street

go back to your 1970 seqfault faggot

yes hello we fix your code thank you berry much.

And Rust, since it also works on most arm cores thanks to llvm.

C# allows you to offload routine work and write fast code for critical sections only. Not like c++ or rust where every single line of code gives you a headache.
GC is safer and faster than manual memory allocations. C++ is fast only because allocations are discouraged.
JIT can allow much more flexible and performant optimizations than static compilation.

It's Bharat u fucking arshole.

if lines of codes are giving you a headache you suck at coding.

You can't write an OS in C#

- compile JavaVM
- link JavaVM
- link error: .text section won't fit into memory region TINY_EMBEDDED_RAM

Java can run a Smartcard!

Deterministic behavior.

You can, and MS actually did (Midori) but there's no money in it, so they shelved it.

I don't like C#, but I understand why many others feel the same about C++.

>identical performance

Attached: 1563257910040.png (894x773, 43K)

People who hate writing code in Rust are the same people who couldn't write a mathematical proof if their life depended on it.

C# isn't a systems language. It isn't even in the same category as C++ and Rust.

>compiler with optimizations isn't an automatic performance improvement. it's just a translator at its core.

c+= btfo

Attached: Screenshot_20190720-040616_Chrome.png (1440x2560, 525K)

Someone wrote and efi code in c#.

Os is possible in c# with .Net native

techempower.com/benchmarks/#section=test&runid=036fcd14-bcf8-4758-863f-bacd15faf6b6&hw=ph&test=plaintext

tfw aspnetcore is top, and this is 2.0, 3.0 is over 2x faster w 2x lower latency and 10x lower mem usage

Nonsense. No language is "compiled straight to binary" by itself, that's up to the implementation.

Are you the one posting this same shit in all threads or are there several of you?

Rust is a language for people with IQ > 130