Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
x0re4x
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
x0re4x
4mo ago
I suggest using a slightly different array operator syntax for fat pointer arrays: "char a[|..|]" instead of just "char a[..]" to make them visually distinct and indicate that element access has additional bounds check.
2.
▲
by
x0re4x
5mo ago
Go language is explicit: identifiers starting with a capital letter are exported. https://go.dev/ref/spec#Exported_identifiers
3.
▲
by
x0re4x
6mo ago
There is a nice video by Kaze Emanuar demonstrating N64 easily pushing 300k shaded triangles per second without special optimizations in a game engine: https://www.youtube.com/watch?v=GC_jLsxZ7nw
4.
▲
by
x0re4x
6mo ago
It might be because he is not using nintendo's sdk anymore, particularly the "microcode" for RSP "coprocessor". Most N64 emulators usually do not emulate RSP properly, but detect which specific nintendo's micro
5.
▲
by
x0re4x
2y ago
> TFA claims the GeForce 256 was "the world's first GPU", but why not consider the NVidia Riva TNT a real GPU? GeForce 256 integrated hardware vertex processing (transform and lighting), which Riva TNT and others did not -
6.
▲
by
x0re4x
4y ago
There is no need to guess: "There will be no longer a Nord Stream 2. We will bring an end to it." https://twitter.com/townhallcom/status/1490791554088321024
7.
▲
by
x0re4x
5y ago
@LeSUTHU: * if you want to design and play around with your grammar (builtin interpreter is very nice to try things out): https://www.antlr3.org/works/ * once you want to actually implement your language: https:/
8.
▲
by
x0re4x
5y ago
Probably using something like that: https://github.com/xoreaxeaxeax/sandsifter
9.
▲
by
x0re4x
5y ago
Try F#. It's not exactly ocaml, but close enough if you want to stay on windows.
10.
▲
by
x0re4x
6y ago
"In a Time of Universal Deceit — Telling the Truth Is a Revolutionary Act"
11.
▲
by
x0re4x
6y ago
Probably relevant: "IQ and National Success" https://youtu.be/8u0Lmp_jHw8?t=332
12.
▲
by
x0re4x
6y ago
Facts and evidence are the Tools Of The Patriarchy. You supposed to shut up and blindly belive. Do not question the western state ideology of progressivism. (P.S.: as an unbeliver you won't be able to "see" the "Benefits
13.
▲
by
x0re4x
6y ago
Take a look at "Modern C" :) https://gforge.inria.fr/frs/download.php/latestfile/5298/Mod... (Homepage: https://modernc.gforge.inria.fr/ )
14.
▲
by
x0re4x
6y ago
Hmm... pretty sure I already saw something like that long time ago: https://github.com/id-Software/Quake-2/blob/master/game/p_tr...
15.
▲
by
x0re4x
7y ago
Huge profits for https://en.wikipedia.org/wiki/Military_industrial_complex
16.
▲
by
x0re4x
7y ago
I have some more older links, ocaml changed a bit over time, but I think they are still relevant: https://caml.inria.fr/pub/docs/oreilly-book/html/index.html https://caml.inria.fr/pub
17.
▲
by
x0re4x
7y ago
See https://www.cs.cornell.edu/courses/cs3110/2020sp/textbook/
18.
▲
by
x0re4x
7y ago
Thank you for clarification. I was looking at https://www.digitalmars.com/articles/betterC.html , https://dlang.org/spec/betterc.html is a better description.
19.
▲
by
x0re4x
7y ago
> Consider C's Biggest Mistake I do not think it is a significant problem in C. It might be more of a problem in C++. > You can use D in -betterC mode, write code pretty much just like you would in C, and not have that problem. D
20.
▲
by
x0re4x
7y ago
I would interpret the silence of C people as "Thanks, but no, thanks." The success of C for such long time without having fat pointers, exceptions, RAII, etc... is probably an indication they weren't needed that much. (Jonath
21.
▲
by
x0re4x
7y ago
You could always put NOPs into delay slots by default and replace them later with something more useful.
22.
▲
by
x0re4x
7y ago
Slick RSS ( https://chrome.google.com/webstore/detail/slick-rss/ealjoljn... )
23.
▲
by
x0re4x
7y ago
Briffault's Law: https://www.youtube.com/watch?v=UaFJ18aENkc https://www.youtube.com/watch?v=9W6wvHSMmzY https://www.youtube.com/watch?v=PqSCRnrq5I0 Some more: "More" https:
24.
▲
by
x0re4x
7y ago
> Explaining Sex Rate Changes "An ironic side-effect of feminism is to free men from the burden of being the head of the house." https://www.youtube.com/watch?v=RPETpCVrH9Y "Why you can't find a man:
25.
▲
by
x0re4x
8y ago
There is a good comment after the article: "The simplicity of C is more useful than the additional features of C++." -- (Sam Watkins)
26.
▲
by
x0re4x
8y ago
Hi, my humble opinion: how much would "Immutable Types" add to the language? How much complexity would it add? Things can already be made immutable from outside by hiding them in private variables/struct elements. The questio
27.
▲
by
x0re4x
8y ago
No, GCC is still written mostly in C. Try: git clone --depth=1 https://github.com/gcc-mirror/gcc.git cloc gcc/gcc
28.
▲
by
x0re4x
8y ago
stack_ret.c:5:10: warning: function returns address of local variable [-Wreturn-local-addr] return new;
29.
▲
by
x0re4x
8y ago
Well, putting: { "SyncDisabled": true } into /etc/chromium/policies/managed/test_policy.json (for debian linux) seems to do the trick for now, unsure how long it lasts... see: https://www.chromi
30.
▲
by
x0re4x
9y ago
Do you have a specific example? I wrote programs in Z80, AVR, x86/amd64 and MIPS assembly. In my experience writing C is MUCH easier.
More ›