Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cshenton
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
31.
▲
by
cshenton
6y ago
Congrats on getting your book published! I will definitely be ordering a copy :)
32.
▲
by
cshenton
6y ago
Left of field, but game engines have figured out translating a single set of UI APIs to multiple graphics backends already. Alternatively you could use a compatibility version of OpenGL, like 3.3 which will run on any desktop OS, then use a
33.
▲
by
cshenton
6y ago
Coffee Stain is the publisher for Deep Rock Galactic, Ghost Ship Games are the developer.
34.
▲
by
cshenton
7y ago
Thanks for all your effort on the project. By far my best experience with zig was writing an OpenGL renderer on windows which then “just worked” when I cloned it ran `zig build` on my Linux machine. Felt like magic.
35.
▲
by
cshenton
7y ago
The real question is how much the speed up is due to the low quality of the initial implementation. I’ve seen speed ups of 100-1000x on the same hardware. Academic simulation code is often bad.
36.
▲
by
cshenton
7y ago
The 737 max? Yeah probably.
37.
▲
by
cshenton
7y ago
If you want to read further on this topic the term is “continuous collision detection”. Bullet physics is a good open source physics library with it implemented.
38.
▲
by
cshenton
7y ago
Check out Zig if you’re looking for a C replacement with a go style defer. It also interops about as well with C as C does.
39.
▲
by
cshenton
7y ago
Julia feels like a scripting language but every function is effectively a template. I prototype lots of high perf stuff in it because it gives you control of memory layout and what gets evaluated at compile time, so it'll get you withi
40.
▲
by
cshenton
7y ago
Not sure why one would use this over Uber’s Pyro, which is built in python on top of Pytorch and has a similar feature set. Also worth pointing out that, like all current gen PPLs, the word “Universal” is highly misleading, as only variabl
41.
▲
by
cshenton
7y ago
If I had to hazard a guess, I’d say the conditional move means that both next values are prefetched into cache, whereas a branch means that fetch doesn’t happen until the comparison is made.
42.
▲
by
cshenton
7y ago
Cost of living adjusted salaries are what matters, and London has SV level cost of living at way lower salaries.
43.
▲
by
cshenton
7y ago
London salary to cost of living ratio is terrible. I made a better real income, and at a lower level, in Australia, which many people leave for better salaries in SV.
44.
▲
by
cshenton
7y ago
Game? Sure, if you’re willing to spend a non trivial amount of time integrating with a graphics API, but that’s true of most non C++ languages. Kernel? Probably not, AFAIK there’s no subset of Julia that can run without an OS (like for rust
45.
▲
by
cshenton
7y ago
Julia is already insanely productive for CS and statistics research and this will only make it more so. Super excited to see how this will be used, especially in PPLs, as algorithms like PMCMC benefit hugely from this kind of cooperative, i
46.
▲
by
cshenton
7y ago
I started using in it earnest after 1.0 and can honestly say that it's super stable and easy to write and debug errors. The only "bugs" I've had with it have stemmed from abuse/misunderstanding of the dispatch syste
47.
▲
by
cshenton
7y ago
One reason I really like the 1 based indexing is that I can have a UInt index and 0 can act as a sentinel value. Really nice for writing things like vector embedded linked lists.
48.
▲
by
cshenton
7y ago
Julia code gets compiled native via LLVM so it is about as fast as other natively compiled languages.
49.
▲
by
cshenton
7y ago
Julia is the fastest (in speed achievable in a short dev time) language I’ve ever used. Especially for any scientific computing workloads.
50.
▲
by
cshenton
7y ago
Julia is the new scientific computing language in the same way Go is the new enterprise dev language.
51.
▲
by
cshenton
8y ago
Have you used Julia recently? Vectorised operations are just as fast relative to hand written loops as c and FORTRAN, you just need to appropriately annotate @inbounds and @simd. Sure that’s more work, but removing safety checks should be e
52.
▲
by
cshenton
8y ago
Does nim have a concurrency story yet? That’s what gave me pause last time I checked it out.
53.
▲
by
cshenton
8y ago
The Economist is the closest thing I can think of. They seem to be doing fine so maybe it's a good business model.
54.
▲
by
cshenton
8y ago
Sure it will, scientific computing is rife with potentially very large intermediate matrices/tensors of data that need to be deallocated. In C++ I can explicitly free that memory, and in higher level frameworks, like tensorflow, depend
55.
▲
by
cshenton
8y ago
Yeah that's about right. Go wont fit the bill if you can't trust the garbage collector (often true for scientific computing), or if you're not running your code on a full OS (like if you were writing an OS / embedded cod
56.
▲
by
cshenton
8y ago
For anyone considering this, LSTM only starts to pay off if you have many many time series. For a single time series like this one you’re better off using classical time series approaches like ARIMA or other Gaussian state space models.
57.
▲
by
cshenton
8y ago
It’s weird to see complaints about code generation causing a too big code base at compile time when code generation is exactly what a compiler will do behind the scenes for generics.
58.
▲
by
cshenton
8y ago
Isn’t this the difference between computer science and software engineering courses?
59.
▲
by
cshenton
8y ago
For me it had the opposite effect. Working with async-await syntax was the last straw that made me finally go "there's got to be a better way" and find a language can handle concurrency without the semantic overhead (in my ca
60.
▲
by
cshenton
8y ago
Reading mode on safari does this.
More ›