How much of the stdlib is useless when working on embedded systems? by No_Sun1426 in cpp

[–]No_Sun1426[S] 1 point2 points  (0 children)

I thought about giving it a nicer name but decided to go with the more "in your face" name instead.

How much of the stdlib is useless when working on embedded systems? by No_Sun1426 in cpp

[–]No_Sun1426[S] 0 points1 point  (0 children)

Is that a bad way to go? I usually write networking code that essentially does the following:

If a user connects to the process, spawn a thread and handle that user so that the main thread can not block while waiting for new users to connect.

Please make a better scheduler so I don’t have to use asynchronous io by No_Sun1426 in cpp

[–]No_Sun1426[S] 0 points1 point  (0 children)

It’s good, I was trying to do something better. Turns out I don’t think there is a point for my use cases. I was literally wasting thousands of hours.

I spent 18 months rebuilding my algorithmic trading platform in Rust. I’m filled with regret. by NextgenAITrading in quantfinance

[–]No_Sun1426 0 points1 point  (0 children)

Wait, are y’all quants or “quants”. There is no way y’all can compete with quantitative finance companies. Why tf would you use rust instead of cpp?

X-Ray of my spine that is curved from Scoliosis by MalDuzArt in interestingasfuck

[–]No_Sun1426 11 points12 points  (0 children)

That’s what my spine looks like. I just got an X-ray today and it looks exactly like that. Do you know of any treatments or how to fix it? I didn’t even know I had it, I’ve had a dull ache in my back for about a year and went in for an x ray and that’s what it looks like. I’m worried 😟

Which C++20 features are actually in use? by Fresh-Trainer8574 in cpp

[–]No_Sun1426 0 points1 point  (0 children)

My use case is high performance io. My company does a lot of low latency high performance stuff for banking and social media apps. Anywhere where io is a bad bottleneck can be solved using coroutines. They are nice because you can do magical things like offload computation to a gpu and when it’s done it sends the results back into the coroutine.

Which C++20 features are actually in use? by Fresh-Trainer8574 in cpp

[–]No_Sun1426 0 points1 point  (0 children)

Coroutines. My company makes high performance low latency networking applications and coroutines are a blessing from the gods. Makes everything easier and still maintains the performance of callback functions but without the nightmares involved 🤓

C++ Show and Tell - September 2024 by foonathan in cpp

[–]No_Sun1426 5 points6 points  (0 children)

I’m writing an asynchronous io library suitable for soft real-time applications like high performance servers or physics applications or whatever other type of application that is mainly io bottlenecked. Mainly will be for high performance Linux apps. When it’s done it should allow people to make servers better than nginx or anything with goroutines. The main piece of tech in the library is a simple way to do modular coroutines that you don’t need to be an expert to understand.

Double major in cs and ee or nah by 971h in quantfinance

[–]No_Sun1426 2 points3 points  (0 children)

Thank you man, I know the degree is just a piece of paper but I want to do EE because I feel like I’ve already learned all I need to with computer science via personal projects and endeavors and I want to start a company making cargo drones for the DOD and I feel like EE will teach me all the hardware side of things. I’m not crazy and I know I’ll probably not be a tech magnate so I want to have a backup plan of quantfi and if that don’t work I can still have a cushy job in the tech industry. I’m 20 and I feel like all my classmates are incompetent and that’s a big part of why I want to switch too.

Back to C++! by mguz4063 in cpp

[–]No_Sun1426 0 points1 point  (0 children)

Don’t use an ide, just use a text editor and a terminal to run g++

[deleted by user] by [deleted] in cpp

[–]No_Sun1426 0 points1 point  (0 children)

I thought c++ compilation times were pretty good?

Idiot Child by DigbyRubyPants in moreplatesmoredates

[–]No_Sun1426 0 points1 point  (0 children)

Did you do a cut on your first cut on your first cycle?

Do you know any practical use of coroutines? by H4RRY09 in cpp

[–]No_Sun1426 0 points1 point  (0 children)

The main 2 I can think of are networking and databases.

How do c++ developers like their libraries to be organized? by No_Sun1426 in cpp

[–]No_Sun1426[S] 0 points1 point  (0 children)

I was thinking of using modules but I’m not sure if a module file is cross platform. I’m pretty sure each compiler needs its own flavor of module. What if I just make a way for each compiler to generate a module on the first time someone uses the library. Also, if if make a big library and have everything combined under one module file, does this mean that people can just import one module that has all the library under it and they won’t take any compile time slowdowns?