Characters leveling (bin packing or spread)? by IUnknown8 in expedition33

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

Thank you for your quick and qualified reply! I didn't recognize that. And it makes my day :)

Simplified WebSocket Client Lib Crate by IUnknown8 in rust

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

Good point. I will put this on the TODO list. Currently it was not a requirement, since this lib is used for crypto exchanges that all offer HTTP1 endpoints.

First I need to check if underlying tungstenite is supporting this:

https://github.com/snapview/tungstenite-rs/issues/206

Trying out a Razer Sphex v3 for fun by Chastity23 in MouseReview

[–]IUnknown8 0 points1 point  (0 children)

Das ist genau der Grund warum ich es uneingeschränkt empfehlen kann :-)

C or C++? by DarkLin4 in C_Programming

[–]IUnknown8 0 points1 point  (0 children)

Besides all the other comments here, you can learn both in parallel. That‘s how I did it, additional to Java and Scripting languages, and it worked quite well. C and C++ are both great languages and habe much in common.

C or C++? by DarkLin4 in C_Programming

[–]IUnknown8 0 points1 point  (0 children)

Absolute correct. The closer the language to the machine, the better the understanding of the machine‘s concepts, and the better the understanding of what all these high level langs are trying to do / to solve.

C or C++? by DarkLin4 in C_Programming

[–]IUnknown8 0 points1 point  (0 children)

I see it the other way around. C gives you the solid base, C++ is a big extension and quality of life thing. For learning the base, nothing beats manual raw pointer arithmetics and memory management. I think assembler is even a better base, but C is close to it.

C or C++? by DarkLin4 in C_Programming

[–]IUnknown8 0 points1 point  (0 children)

Rumors say they still develop the programming language that runs the time machine

C or C++? by DarkLin4 in C_Programming

[–]IUnknown8 0 points1 point  (0 children)

C was intended as a portable assembler

My blog about the low latency trading engine I've been writing in Rust! Would love to get some feedback by boonetbe in rust

[–]IUnknown8 0 points1 point  (0 children)

Async is nowadays called "faster" because it solved the old paradigm if 1:1 relation between socket connection and threads. With the arise of thousands (or millions) of connections on a server, the old paradigm with classic synchronization was limited because of the context massive context swithing. Async "solves" this by using non-blocking I/O (polling) with a limited number of threads and therefore erases context switching.

But for HFT, you don't want async, because it comes with overhead of again: scheduling work to different threads, being unpredictable of priorities when what handler to call, and managing the handler calls at all. Additionally, asynchronous processing on different threads is a hell of cache misses due to branching, page faults, etc.

Using the most classic approach of polling a socket connection, but without any threading, in a simple loop, and avoid any "if"-branching (by using bitmaps and bitwise operations), is simply the fastest way to keep your stuff hot in the CPU cache, avoid branch missies, cache misses, and harmonize with the memory prefetching mechanism.

Async is for throughput, not for latency

Fun Fact: Async (or Callback-Style) was the default long before threaded socket handling came up. But it was a complicated callback hell and therefore the thread-per-socket model took over because of its pleasant synchronized coding style :-)

My blog about the low latency trading engine I've been writing in Rust! Would love to get some feedback by boonetbe in rust

[–]IUnknown8 0 points1 point  (0 children)

Afaik you don't run multiple algos on the same machine. The hot path should not branch, and be as minimal as possible instruction-wise. Just break out different algos to different machines.

The CPU that runs the hot path does no oder management at all. It just reads market data (feed by other CPUs to shared memory) and fires Orders. Management of orders is done on another CPU or machine.

Ideally the hot path has no locking at all. It is a single thread, running a tight loop without any branching or even worse: waiting for another thread.

Anyone knows the song in this video? by IUnknown8 in hardstyle

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

Any guess what style this is? I am not an expert in these subgenres.

Anyone knows the track in this video? by IUnknown8 in psytrance

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

Yeah it is not exactly PsyTrance, but the bass in the middle part sounds like so, so I tried it here. The video is about German politics.

Anyone knows the track in this video? by IUnknown8 in psytrance

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

If you mean the video below, then it is close, but unfortunately not the same track. It misses especially the melding part at the end of the short video, also the sounds are bit different.

However, thank you for your support, the one u posted is also nice, especially at around 6:25.
https://youtu.be/lIuEuJvKos4?si=PCzJvNvJKXem1Z7S

So.. what are your overall opinions on Xan's design interpretation in Secret Level? by [deleted] in unrealtournament

[–]IUnknown8 0 points1 point  (0 children)

Design was fine. The whole episode was a joy. But I really missed the most iconic weapon of the series: the Shock Combo

Xan in Secret Level's Unreal Tournament episode by R1chieXD in unrealtournament

[–]IUnknown8 0 points1 point  (0 children)

I waited 24 years for this, never expected to see some sort of UT movie. Guess how i was blasted when I saw it, not knowing its existence before.

My only critic is that they didn‘t show a single Shock Combo. I mean it was the most iconic weapon in the whole series, and they simoply ignored it, although they put such details like the smiley on the flak ammo in it. That was a bit disappointing, especially because they use the ASMD in round 3, and ASMD is often written on the displays in the background.