Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
TinkersW
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
TinkersW
10mo ago
Oh my bad, I read that as nullptr, I use a custom optional that does not support such a silly mode as "disengaged"
2.
▲
by
TinkersW
10mo ago
That is actually memory safe, as null will always trigger access violation.. Anyway safety checked modes are sufficient for many programs, this article claims otherwise but then contradicts itself by showing that they caught most issues usi
3.
▲
by
TinkersW
10mo ago
Error Log/assertions prints are by are the most likely code to have not been run prior. Some compilers type check printf, but not all.
4.
▲
by
TinkersW
10mo ago
Good article, but for profiling you are missing the big daddy of them all, Tracy.
5.
▲
by
TinkersW
10mo ago
I my experience you absolutely must have type checking for anything that prints, because eventually some never previously triggered log/assertion statement is hit, attempts to print, and has an incorrect format string. I would not use
6.
▲
by
TinkersW
10mo ago
My understanding is Rust compiles each crate in the same way C++ compiles each .cpp file, so if you stick everything in a single crate you get horrible compile times. This does seem like a poor design decision by Rust to me, forcing people
7.
▲
by
TinkersW
10mo ago
The android team wasn't comparing like to like, though people seem to gotten the impression they were.
8.
▲
by
TinkersW
10mo ago
OpenAI appears to have bought the DRAM, not to use it, as they are apparently buying it in unfinished form, but explicitly to take it off the market and cause this massive price increase & squash competition. I would call that market ma
9.
▲
by
TinkersW
10mo ago
FEX is a CPU JIT, so your GPU settings are irrelevant to it, it is translated but not by FEX, and there is no real perf hit for the GPU The old games don't really matter with regards to FEX perf, so the only relevant bit is the semi ne
10.
▲
by
TinkersW
10mo ago
One other accident that was similiar, but these planes have had a ton of crashes for other reason.
11.
▲
by
TinkersW
10mo ago
I am surprised Intels server chips can only do 2 AVX512 ops per cycle, that is rather sad given how long they have supported it in server chips, and I hope isn't a sign of things to come with Nova Lake.
12.
▲
by
TinkersW
10mo ago
Nova lake looks potentially pretty good, AVX512/APX and very very high core count, so maybe we will see AMD have some competition next year.
13.
▲
by
TinkersW
10mo ago
The article is simple wrong, dithering is still widely used, and no we do not have enough color depth to avoid it. Go render a blue sky gradient without dithering, you will see obvious bands.
14.
▲
by
TinkersW
10mo ago
The python example looks fixable with a reentrant mutex, no idea if that translates to the Rust issue.
15.
▲
by
TinkersW
10mo ago
Ya ever heard of this thing called a debugger? They have this amazing ability to show you what the problem is right when it happens!
16.
▲
by
TinkersW
10mo ago
I think memory safety is fine, but I plan to do it in C++ not Rust-- nothing in this article is remotely new either, just repeating the same tired stuff. It seems pretty clear statistical hardware level memory safety is coming(Apple has it,
17.
▲
by
TinkersW
10mo ago
The author refers to casting ints to floats but seems to actually be talking about converting. Casting is when you change the type, but don't change the data.. I don't really think much of Zig myself for other reasons, but comptim
18.
▲
by
TinkersW
10mo ago
If you had read like even the basic part of that article you would know that && is not a pointer to a pointer. Anyway C++ isn't as complicated as people say, most of the so called complexity exists for a reason, so if you under
19.
▲
by
TinkersW
10mo ago
So you have to write fugly code just to get something that should be a compiler switch?
20.
▲
by
TinkersW
11mo ago
My experience was that every game ran.. but also nearly every game had issues with controls being different than Windows(mouse sensitivity was way off), control pad not working, screen or font scaling issues, and full screen wonkyness. Some
21.
▲
by
TinkersW
11mo ago
Does it work with large binary files and not choke like git? Cause git may have won for webdev etc, but in some industries such as gamedev, Perforce is the king... git is barely used at all because it can't handle binary files worth a
22.
▲
by
TinkersW
11mo ago
C++ has had whole program optimization since forever. And you can use static linking if you want, the same as Rust.
23.
▲
by
TinkersW
11mo ago
I dunno, the C++ template implementation of this macro would be far easier to read as it is just normal C++.
24.
▲
by
TinkersW
11mo ago
Your average none shared memory GPU communicates with the CPU over PCIe which is dogshit slow, like 100x slower than DRAM. I can upload about an average of 3.7 MBs per millisecond to my GPU(PCIe gen 3, x8), but it can be spiky and sometimes
25.
▲
by
TinkersW
11mo ago
What? He is a moron, and is advised by morons, I mean we are talking about a person that started a trade war with Canada.
26.
▲
by
TinkersW
11mo ago
Article doesn't make much sense, rambles on about frame stacks and calling convention etc, when these don't matter very much on modern hardware, and are hardly standardized(windows and linux don't use the same CC). Modern har
27.
▲
by
TinkersW
11mo ago
Somewhat interesting read, if rather long.. My experience is that multi-threading has quite abit of overhead, not necessary from the scheduling, but from the cache misses because now everything is unlikely to be in cache, so a naive paralle
28.
▲
by
TinkersW
11mo ago
They are optional though, and who can be bothered to add that when typing.
29.
▲
by
TinkersW
11mo ago
Reserve(reserve_exact in rust lingo) as a concept doesn't throw away amortized growth promise, so this entire post makes no sense. You would need a very shitty implementation to achieve anything close to what you are describing(perhaps
30.
▲
by
TinkersW
11mo ago
I wouldn't mind, but might need to increase cache line size on x86, as avx512 has reached the current size.
More ›