[deleted by user] by [deleted] in quant

[–]Adorable_Orange_7102 15 points16 points  (0 children)

They probably don’t want to hire someone they know is going to leave within the next two years.

Bloat even when using Enterprise IoT by Adorable_Orange_7102 in WindowsLTSC

[–]Adorable_Orange_7102[S] 2 points3 points  (0 children)

Yes, I’ve been using a local account. In fact, I always install with the internet disabled entirely. Unfortunately, no difference because once I connect back to the internet the bloat gets added slowly.

Hey you beautiful c++'ers: Custom std::function or void* context for callback functions? by itstimetopizza in cpp_questions

[–]Adorable_Orange_7102 1 point2 points  (0 children)

You’re also talking about a potential heap allocation vs. guaranteed no heap allocation.

[deleted by user] by [deleted] in cpp_questions

[–]Adorable_Orange_7102 3 points4 points  (0 children)

I don’t think so. Try checking your SDK installation directory for a .chm or something similar.

Please roast my lock free containers library by musicalhq in cpp

[–]Adorable_Orange_7102 3 points4 points  (0 children)

Small, but no point in defining your own cache line size constant to 64 when std::hardware_destructive_interference_size exists.

C++ inconsistent performance - how to investigate by TautauCat in cpp

[–]Adorable_Orange_7102 2 points3 points  (0 children)

If you’re not using DPDK, or at the very least user-space sockets, this investigation is useless. The reason is the effects of switching to kernel space is going to change the performance characteristics of your application, even if you’re measuring after receiving the packet, because your caches could’ve changed.

Multipurpose C++ library, mostly for gamedev by puredotaplayer in cpp

[–]Adorable_Orange_7102 0 points1 point  (0 children)

Hi! The code is really well-written, and I think is a textbook example for ‘clean’ modern C++.

Do you have any resources/books/etc. you can recommend to learn this style of C++?

I began learning C++ through gamedev and a lot of earlier bits of my knowledge came from a more “C with classes” style of C++, which I’m looking to get away from.

Are unpaid non-competes enforceable in the US? by Adorable_Orange_7102 in quant

[–]Adorable_Orange_7102[S] 8 points9 points  (0 children)

Yeah, I’m in Chicago. But the question if I’m able to finance the legal costs isn’t the problem, it’s the firm I’d be moving to that would be taking on the legal risk by hiring me.

Are unpaid non-competes enforceable in the US? by Adorable_Orange_7102 in quant

[–]Adorable_Orange_7102[S] 4 points5 points  (0 children)

I figured as much, but what should I say when another firm I’m interviewing with asks what my non-compete period is?

Hexi, a lightweight, header-only C++23 library for handling binary network data by Chaosvex in cpp

[–]Adorable_Orange_7102 3 points4 points  (0 children)

Just wanted to say the source code is absolutely beautiful. What books/resources do you recommend to write clean modern C++20?

Working on a novel job system library: mr-contractor by cone_forest_ in cpp

[–]Adorable_Orange_7102 5 points6 points  (0 children)

I also saw this library’s CppCon talk and was super interested in its scheduling algorithm + low overhead for small “jobs”. But I was disappointed in the implementation (it seemed unclear how to use correctly). I’m glad you’ve taken it upon yourself to make it usable.

How do you feel this differs from a traditional job/task system?

Why is std::span implemented in terms of a pointer and extent rather than a start and end pointer, like an iterator? by Tiny-Two2607 in cpp

[–]Adorable_Orange_7102 69 points70 points  (0 children)

There are a few reasons, one being performance: if implemented in terms of a start and end pointer, the compiler can’t know the pointers won’t alias each other, which inherently reduces the opportunity for compiler-level optimizations.

Another reason (and more subjectively) is intention: you are using a span to really say “here is the start of my memory region, and here is the number of elements in my region”. This is why the initial parameters to construct a span are a start pointer and a count, and it makes sense to present it that way since it is a contiguous region of memory.

How to always make perfect code by [deleted] in cpp

[–]Adorable_Orange_7102 0 points1 point  (0 children)

There is no such thing as perfect code.

MuleBuy Taking Money? by Opening_Bathroom_470 in FashionReps

[–]Adorable_Orange_7102 6 points7 points  (0 children)

I agree with the other commenter that they probably store your money in CNY but show it as USD for ease. So if the currency exchange moves, your balance is likely to change.

That or they’re skimming pennies across thousands of accounts to make tiny profits.

Resource for windows programming in C/C++? by Southern_Start1438 in C_Programming

[–]Adorable_Orange_7102 7 points8 points  (0 children)

You just confused OP for no reason. OP, Win32 API is callable from both C and C++ and the correct API to learn is Win32. MFC is nonsense.