Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jackmott
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
72 ms
·
571.
▲
by
jackmott
10y ago
That is a good point. If you have around N things going on, and N cores, and each thing can saturate the 1 core pretty well, it is better to keep them each on one core so they can rip through their own L1 cache rather than ruin each others.
572.
▲
by
jackmott
10y ago
If I blogged on medium.com I would have had an animated gif from southpark in that section.
573.
▲
by
jackmott
10y ago
So the lesson is.... Write super hacky optimized code 100% of the time, but constantly profile it too!
574.
▲
by
jackmott
10y ago
i did, it isnt. or to be more precise it use sse adds and muls but only 1 lane the same as all the oyher 64 bit compilers in the comparison, so it isnt vectorized. you can get rust to vectorize it with unsafe intrinsics if you use the nig
575.
▲
by
jackmott
10y ago
gather instructions on current cpus are not so good (unless that has changed in recent months), not always a speed increase from it.
576.
▲
by
jackmott
10y ago
Note that title may suggest this is a genetic thing, but this is about the genealogy of students and teachers, not genetics.
577.
▲
by
jackmott
10y ago
VS 2015 update 3 has reduced the memory usage a lot, may help if you don't have it yet.
578.
▲
by
jackmott
10y ago
not Carmack, I think he has always liked IDEs, even when he was young. Won Chun is the guy I'm talking about.
579.
▲
by
jackmott
10y ago
Yeah I know, but on a modern PC, with the latest VS and silly settings turned off, I'm not often annoyed by slow UI issues. I know some people who use the debugger a lot are annoyed more often than I am.
580.
▲
by
jackmott
10y ago
To the first question: A rather well known C++ developer used to wonder that too, until he got older, and couldn't remember everything about the language and his projects in his head any more. At which point intellisense type features
581.
▲
by
jackmott
10y ago
I don't see a huge win there. Since RyuJIT C# has been a reasonable option for game dev. Value types are already there to help avoid GC and get fast array iteration over small things. There is some SIMD support. What is there, is prett
582.
▲
by
jackmott
10y ago
Visual Studio 2015 Update 3 has some performance improvements and some big C++ compiler improvements. You can also make it less visually 'noisy' with some of these settings: https://jackmott.github.io/programming&#
583.
▲
by
jackmott
10y ago
that is pretty awesome
584.
▲
by
jackmott
10y ago
I think what you are saying is only true if you insert at the end of the ArrayList, (or at the beginning if you have one which leaves open space at either end) If you insert into arbitrary positions, or the front of these particular array l
585.
▲
by
jackmott
10y ago
and Fable for F# https://github.com/fsprojects/Fable
586.
▲
by
jackmott
10y ago
Jet.com is a big user of the F# language. Will be interesting if they get Walmart on board too.
587.
▲
by
jackmott
10y ago
It isn't as if it is a secret that at the root, the goal of ideas like these is to reduce income disparity. But if the HackerNews Libertarian Army would prefer to live in a gated communities which keep the uneducated hungry masses away
588.
▲
by
jackmott
10y ago
So there are some domains where that parallelism easing can really work out well, when dealing with jobs over thousands of cpus, or gpus etc. It can however get almost comical in the case of desktop/single server applications, where y
589.
▲
by
jackmott
10y ago
It is, but it is still ~40ms input latency compared to <1ms latency for good editors written in C++ or, serious efforts in Java (see Intellij Zero Latency Mode )
590.
▲
by
jackmott
10y ago
Predicted before clicking this link that I would see, at the top, a typical libertarian excuse of this situation. Was not disappointed.
591.
▲
by
jackmott
10y ago
3 & 4 in your list are so key. I was very skeptical of it until I started using it and realized that javascript is always valid typescript. So it never gets in your way. It only helps, and only if you want it to.
592.
▲
by
jackmott
10y ago
Cap'n'proto is more or less abandoned I believe. But it and the flatbuffer approach gives very fast serialization and deserialization speed (essentially takes 0 times) but you pay a cost when you later access data, because it extr
593.
▲
by
jackmott
10y ago
I have no interest in organizing to artificially give myself a job that isn't necessary. In fact that seems insane.
594.
▲
by
jackmott
10y ago
Well, that can help.
595.
▲
by
jackmott
10y ago
I got lost in the levels of indirection there. Can you flatten that out?
596.
▲
by
jackmott
10y ago
I left recently specifically because of Twitters failure to promptly remove obvious bots and users partaking in harassment.
597.
▲
by
jackmott
10y ago
My beliefs are all right now though, so I prefer an echo chamber.
598.
▲
by
jackmott
10y ago
There is rather a lot of cost in being able to hook your algorithm up to the markets with fast enough access.
599.
▲
by
jackmott
10y ago
Game developers have many choices. You can throw a game up on your websites and sell it yourself. You can sell it through GOG Humble Bundle Steam I'm sure there are others. With UWP you have no choice, it goes through Windows. The co
600.
▲
by
jackmott
10y ago
Sorta like how the web gets progressively worse with each modal pop up ad.
More ›