Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
whizzter
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
91 ms
·
1201.
▲
by
whizzter
6y ago
Would you do it again? Coming from C/C++ first, Java then and coming to C# it just feels so much more pragmatic with f.ex. struct(s), slices and stackalloc (and unsafe blocks with pointers in a pinch) allowing for GC less programming w
1202.
▲
by
whizzter
6y ago
What the GP is referring to (Misc.Unsafe) is basically going back to manual pointer reads/writes (IE writing more or less C code in Java), the benefit is you get C speed/memory layout/cache-locality but with the downside of w
1203.
▲
by
whizzter
6y ago
Then he probably wouldn't be as productive.
1204.
▲
by
whizzter
6y ago
Does it solve data-binding? From what I've understood of WC it's about making developing customized elements saner?
1205.
▲
by
whizzter
6y ago
I remember the 90s just fine, but i think MS also knows that they lucked out on the antitrust rulings with getting their fingers slapped. Also on top of it Gates isn't there in charge to be ruthless any more (and the competitors today
1206.
▲
by
whizzter
6y ago
And that was my original point, using React for a small one page thing like this is grossly overkill but Vue is a good smaller alternative at this scale that gives you most benefits. I looked at the jQuery example above and checked the Vue
1207.
▲
by
whizzter
6y ago
Maybe down the line (too many side projects already). I really should just add that little extra bit of work to make the Vue version usable. UI wise i need to add an envelope editor instead of entering numbers manually, the player code alre
1208.
▲
by
whizzter
6y ago
(TL;DR; It's just a different way of working with less manual code) I never spent much time on webdev in the era where jQuery came into being but as I've understood (and from the jQuery code I've seen since) it solved basic i
1209.
▲
by
whizzter
6y ago
While i use React at work for bigger things, I've come to use Vue for almost all my "smaller" hacks since it becomes a win to use almost as soon as you start using inputs. After this it scales pretty well up for anything that
1210.
▲
by
whizzter
6y ago
MS doesn't care about Stallmans GNU goals. What they do care about are developers not being annoyed with working on a Windows machine (or nowadays using their Azure clouds). Speaking for myself, I'm coming from the gamedev world (
1211.
▲
by
whizzter
6y ago
Really afaik the only thing missing from working well with mainline WSL2 now is some UI apps using GL,etc for X11 and iirc that is being worked so no need for any WSL3. Considering i've mostly used win envs to begin with this is alread
1212.
▲
by
whizzter
6y ago
The biggest problem is that they're still doing B but they threw C under the bus (without a security team i don't see a bright future once the exploits come rolling in and when they finally realize C was the option all trust will
1213.
▲
by
whizzter
6y ago
Probably not, if BG sr was able to scare of the other bidder with a short conversation there was probably legal grounds that made the other bid problematic in some way.
1214.
▲
by
whizzter
6y ago
You can find the prod executables on https://files.scene.org/browse/parties/2019/assembly19/1k and the placement list and Youtube captures (many prods require quite a hefty GPU to run so YT is the option
1215.
▲
by
whizzter
6y ago
Interesting, L1 caches are fast and even if compilers do register allocation they kinda rely on it being not-too-shitty so when spilling (and many compilers for higher level languages doesn't always invest too much time in reg-alloc si
1216.
▲
by
whizzter
6y ago
Depends, as the article states the swizzling is only activated unless there is debuggers,etc or the app being in the "wrong" region. Not entirely sure how Apple's review-process works but if a majority of it is done in Mounta
1217.
▲
by
whizzter
6y ago
So the day after writing this i noticed that Inigo went ahead and made a raymarching rendering of the bunny on _CPU_ in a _MINUTE_, seems there was problems with the GPU variation that probably would have been interactive. https:/
1218.
▲
by
whizzter
6y ago
Really feels like an exercise in making a bad solution fly (Generating a huge triangle mesh before rendering it). If you use distance functions(SDF) to your Julia set then with raymarching you can compute the surface directly without taking
1219.
▲
by
whizzter
6y ago
Not necessarily, since it's in production they might be hoping for a bit of securty-by-obscurity if they haven't had time to get an audit the code (runtimes are always hard to get 100% correct since they're so generic, esp fo
1220.
▲
by
whizzter
6y ago
C# really hits a weird sweet spot that people on the outside don't really recognize due to C#'s heritage as a Java clone , previous windows dependencies and anti-MS bias of the early 00s. While i still really can't stand C#&#
1221.
▲
by
whizzter
6y ago
Actually EA has released a lot if interesting stuff in recent years. Frostbite technicaly solutions: https://www.ea.com/frostbite/news Rendering research papers: https://www.ea.com/seed/publication
1222.
▲
by
whizzter
6y ago
It's all tied together because there is an shared value/calling model that permeates both runtime and interpreter and imo with CPython much of it becomes academic because unless people are willing to break source compatibility wit
1223.
▲
by
whizzter
6y ago
It always depends on the use-case and language characteristics. V8 used to be JIT-only for a long time (generating naive x86 code isn't much slower than bytecode), IIRC a big the reason they added a interpreter mode was partly to decre
1224.
▲
by
whizzter
7y ago
Not a problem for LLVM since it's linker is always a cross-linker so if you're targetting a new (or only use the older platform as a compile target) then the initial cross-compile will be able to produce the binaries. If the older
1225.
▲
by
whizzter
7y ago
The big difference that makes Java cumbersome is that you always have object references (ie pointers), thus an array of objects is really an array of pointers to objects that are in another memory location. C/C++ structs(classes) on th
1226.
▲
by
whizzter
12y ago
Shouldn't downvoting 2+2=5 be done for quoting it to Dostoyevsky instead of Orwell?