Scott Graham

2.2K posts

Scott Graham banner
Scott Graham

Scott Graham

@h4kr

All opinions expressed are definitely those of my employer. *On a break.* @[email protected]

Vancouver, BC Katılım Haziran 2008
314 Takip Edilen415 Takipçiler
Scott Graham
Scott Graham@h4kr·
@zack_overflow Thanks for writing this up! It makes me want to nerd snipe one more level and see how much the indirect jump in dispatch hurts. (Probably more of an x64 issue since the Apple aarch64 seems pretty magical with that.)
English
0
0
0
62
zack
zack@zack_overflow·
Anyway, this thread is getting too long. As you can tell I've nerd sniped myself on this whole topic. I'll tell you one more thing Both V8's and HotSpot's interpreters are known as "template interpreters" and I wrote a blog post on the whole damn topic: zackoverflow.dev/writing/templa…
English
3
5
56
7.3K
zack
zack@zack_overflow·
The year is 2006. You are Mike Pall, author of LuaJIT Everyone tells you compilers are so good that a human can rarely beat one Despite this, you rewrite LuaJIT's interpreter in assembly and it's *faster* than the compiler's version How? Lets talk about interpreters and JITs:
zack tweet media
English
13
41
560
70.6K
Scott Graham
Scott Graham@h4kr·
@kaler If you're deriving median purchasing power from the per capita GDP (averages), I don't think that's correct. It could just indicate greater income inequality in the US: if Elon, Tim, and Sergey split the whole GDP, the median worker's purchasing power is 0.
English
1
0
0
52
Scott Graham
Scott Graham@h4kr·
@haxor That looks useful! One reason I don't like rustc is that the errors are so verbose, even when the error is "obvious", which can make it tiring to visually parse through the chaff. In your mock-up, a simple underline under "xy" would be enough, so some incremental exposure maybe?
English
1
0
0
30
Brett Slatkin
Brett Slatkin@haxor·
For example, given this program, here is the Markdown-formatted type error message that gets printed to the console, and then what that looks like in the GitHub issue submission UI:
Brett Slatkin tweet mediaBrett Slatkin tweet mediaBrett Slatkin tweet media
English
2
0
0
625
Brett Slatkin
Brett Slatkin@haxor·
Shouldn't compilers print type errors in Markdown format so when they're inevitably pasted into GitHub issues they're already well structured and pretty?
English
2
0
7
1.2K
Scott Graham retweetledi
pat tobin
pat tobin@tastefactory·
YANKEE DOODLE: *sticks feather in his cap* This is called macaroni YANKEE DOODLE'S FRIEND: Ok, cool. Listen man, everybody's worried about u
English
78
12.5K
27.4K
0
Paul McComas
Paul McComas@sucktime·
@h4kr Those darn privacy policies for Canada and Europe getting in the way of our corporate overlords I guess
English
1
0
1
42
Scott Graham
Scott Graham@h4kr·
@mrdoob 1) I'm old, and 2) Visual Studio (not Code)/WinDbg.
English
0
0
0
93
mrdoob
mrdoob@mrdoob·
Why do people still use Windows?
English
672
34
761
334.7K
Scott Graham
Scott Graham@h4kr·
@sucktime I was trying to play videos from phone on PC. I think if you control the encoder it's sorta fine, but "play a file from someone else" seems like a CF. Hence big fat electron apps I guess :/
English
0
0
0
48
Paul McComas
Paul McComas@sucktime·
@h4kr On web or something else? Like is Webm any good?
English
1
0
0
70
Scott Graham
Scott Graham@h4kr·
Admittedly, the entirety of everything I know about video codecs I learned in the last two hours, but wow! what a mess. \
English
2
0
0
299
Scott Graham
Scott Graham@h4kr·
@TheJare Guess I need to write stb_video.h ... how hard could it be :p
English
1
0
0
22
thejare.bsky.social
thejare.bsky.social@TheJare·
@h4kr Back in the day, you just called RAD Game Tools and, for a pretty reasonable price, you could sleep at night again
English
1
0
1
55
Scott Graham
Scott Graham@h4kr·
Or is there some non-ridiculous 3rd option that I didn't find?
English
1
0
0
183
Scott Graham
Scott Graham@h4kr·
If you want to play some video, you either 1) just swallow ~100M of ffmpeg binary; or 2) vaguely hope that the OS/GPU combo your users are on have support for the right things? \
English
1
0
0
180
Wealthsimple
Wealthsimple@Wealthsimple·
The TLDR podcast is here! This week we talk about why Microsoft is destroying the market, why the TSX is sort of sad, and why Taylor Swift should be governor of the Bank of Canada. Choose your fave platform here 👉 linkin.bio/tldr open.spotify.com/episode/3CoZic…
English
2
1
9
3.1K
Scott Graham
Scott Graham@h4kr·
I guess as of today "programming" is "authoring GPTs"? So here's a new blog post with updates on my compiler for a language from 1978. scot.tg/2023/11/06/mor…
English
0
0
3
236
Scott Graham
Scott Graham@h4kr·
On the off chance that you follow me, have a Garmin watch, use YouTube Music, and use Windows: scot.tg/jogjams/ (no, Garmin/YT don't get along by default)
English
2
0
2
233
Scott Graham
Scott Graham@h4kr·
@zeynep Great news! The article seems to say later that accidental deaths are excluded, so I interpret that to mean that it's not a reduction in all deaths. (?)
English
0
0
0
198
Scott Graham
Scott Graham@h4kr·
@nickbarnes @michael_nielsen "The comparison, covering 46 months, revealed the 13% decline in mortality—excluding accidental deaths—attributed to RTS,S."
English
0
0
14
897
Nathan W Pyle
Nathan W Pyle@nathanwpyle·
someone asked why they haven’t seen as many new comics recently and it’s because I have been throwing my daughter in the air. once you do it the first time you are not really allowed to do anything else
Nathan W Pyle tweet media
English
35
72
4.2K
190.5K
Scott Graham
Scott Graham@h4kr·
@thisIsSebM @browsercompany "Arc is only available for Mac, but we’re working on supporting Windows soon!" Less chat, more Windows! :DD Have fun with all the shiny and new!
English
0
0
1
300