Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
renox
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
28 ms
·
361.
▲
by
renox
4y ago
I read some time ago Odin's documentation, I was quite impressed. But I wonder if it shouldn't copy some Zig features: for example unsigned not wrapping by default are a good idea IMHO: this may detect errors in debug mode and may
362.
▲
by
renox
4y ago
I wouldn't say that it has a very strong Go fondation because it seems that Odin doesn't have an equivalent to God's channels..
363.
▲
by
renox
4y ago
> > What if the history is cyclic? Then there is no origin. > But what started the cycle? It's a bit like asking where is the beginning of a circle, it doesn't make sense..
364.
▲
by
renox
4y ago
Zig
365.
▲
by
renox
4y ago
That's because memory safety has a price: either a GC (which creates interoperability issues if you have two languages with GCs..) or a complexity price like in Rust.. So these languages stay memory unsafe but tries to minimise the iss
366.
▲
by
renox
4y ago
1) You just rephrased 'God has infinite history' I don't see the point. 2) 'nature say everything has to have a beginning' uh?? If you imagine the Universe expanding then contracting cyclically where is the beginnin
367.
▲
by
renox
4y ago
In case you're serious: A discussion about strncpy/strlcpy.. on LWN: https://lwn.net/SubscriberLink/905777/a6dba1b2ed54f04f/
368.
▲
by
renox
4y ago
Sure, but the best car seats in the crash tests are wide.
369.
▲
by
renox
4y ago
Yes, we had two move the seats like this: __X X __X Otherwise it doesn't fit. So far so good? No! The middle seatbelt isn't long enough so we had to buy an extension, which in theory is illegal in France :-( And don't get me
370.
▲
by
renox
4y ago
Very funny: we had a hard time finding a car wide enough to accomodate three child safety seats without being too long to park.. Now our children are getting older so this is less an issue, but (Europeans) car are still quite bad for three
371.
▲
by
renox
4y ago
> so everyone draws stuff on their own, since it's far more flexible and faster Faster for which usage? Locally yes, but not remotely where it's worse.. In the beginning Unix desktops were optimised for LAN, and in the process
372.
▲
by
renox
4y ago
I didn't say that light isn't quantized, I just said that for me blackbody radiation of ordinary matter isn't a convincing proof that light is quantized.. As for free electrons emitting blackbody radiations can you give me a
373.
▲
by
renox
4y ago
I'm not so sure: 'black body' are made of atoms, atoms emits lights only on certain frequency due to the way electrons orbitals are structured, with discrete energy levels, but I don't see how this is related to EM fiel
374.
▲
by
renox
4y ago
This. I was doing Ethernet packet assembly/disassembly with one part in C, the other in Lua.. Let's just say that I'm not a Lua fan to say the least.
375.
▲
by
renox
4y ago
Given that I know have to use clang-format, the 'intellectual enjoyment of well-formated code' is a thing of the past. This isn't a criticism of clang-format, just that as it is now a tool which does the formatting, I focus o
376.
▲
by
renox
4y ago
I'm not convinced that pointer arithmetic is necessary for gamedev: Odin (which has swizzle built-in!) has pointers but no pointer arithmetic.
377.
▲
by
renox
4y ago
> * Retains the C/C++ definition of overflow of signed integers cannot overflow, unsigned can. That's o_O-worthy; the two should be aligned, and if they can't overflow, provide some form of wrapping integers as well. Agree
378.
▲
by
renox
4y ago
When looking for eleguant solutions: look at D, it's full of pearls: they use !() for generics.
379.
▲
by
renox
4y ago
Only if you use a code formatter (which you should) because otherwise there will be some 'fn foobar'(two spaces or more) just to annoy you..
380.
▲
by
renox
4y ago
You're the one saying that they didn't manage properly the forests, I don't know if they did or not but what I know is that when the population increase at some point forests cannot provide enough wood for everybody.. Especia
381.
▲
by
renox
4y ago
The classical 'visualisation' of this is 'cake expansion'. If you think about what's happening inside a cake when you put it in an oven, it expands in all directions, and the center has only a meaning there because
382.
▲
by
renox
4y ago
Thanks for your answer. >You have to use a different set of operators to get modular arithmetic semantics. So, the choice is not a flag you flip at build time, but a choice of operators. Like Zig I think. As for 'panic at overflow&#
383.
▲
by
renox
4y ago
What's Austral story for integer overflow? Division errors are explained but not the other errors, I guess that they abort too?
384.
▲
by
renox
4y ago
That's weird, I really don't see the interest of 'automatic currying', optional/volontary currying? Sure that's interesting. But automatic I don't see the point, it's like automatic conversion in C: n
385.
▲
by
renox
4y ago
If you need this, you can split your application in two parts: one which creates the objects, then these objects are serialised to a 'configuration file formats' which can be audited and then used by the 'real' applicati
386.
▲
by
renox
4y ago
I agree with you on the first point, but I totally disagree with you on the second point: sure if you know how to reliably reproduce an issue it isn't complicated to debug, but this kind of issue can be difficult to reproduce, can crea
387.
▲
by
renox
4y ago
Religion doesn't have a good answer for that too, except 'burn the heretics who ask who created God'
388.
▲
by
renox
4y ago
How about just using a 'moulin a sel' to avoid the clumping?
389.
▲
by
renox
4y ago
Bah you 'lang' and the problem is solved
390.
▲
by
renox
4y ago
And then you have an automated checker which tells you FastAverageCase isn't used..
More ›