HackerTrans
TopNewTrendsCommentsPastAskShowJobs

abhi9u

no profile record

Submissions

Floating Point: The Origin Story

thechipletter.substack.com
2 points·by abhi9u·30 giorni fa·0 comments

ChkTag: x86 Memory Safety

community.intel.com
8 points·by abhi9u·9 mesi fa·0 comments

The golden ratio as a number base

apieceofthepi.substack.com
59 points·by abhi9u·10 mesi fa·2 comments

Fundamental guide to understanding DRAM Memory

chiplog.io
3 points·by abhi9u·11 mesi fa·0 comments

Building Query Compilers [pdf]

pi3.informatik.uni-mannheim.de
2 points·by abhi9u·12 mesi fa·0 comments

Confessions of a static timing analysis tool

chipinsights.substack.com
2 points·by abhi9u·12 mesi fa·0 comments

MIPS

thechipletter.substack.com
3 points·by abhi9u·12 mesi fa·1 comments

One Law to Rule Them All: The Iron Law of Software Performance

blog.codingconfessions.com
2 points·by abhi9u·anno scorso·0 comments

Quantum Computing without the Linear Algebra [pdf]

eprint.iacr.org
1 points·by abhi9u·anno scorso·0 comments

Do Junior Developers Add Value to Companies?

speculativedecoding.substack.com
3 points·by abhi9u·anno scorso·1 comments

Distance-Based ISA for Efficient Register Management

sigarch.org
16 points·by abhi9u·anno scorso·5 comments

Swarc: SIMD Within A Register C (1998)

aggregate.ece.engr.uky.edu
1 points·by abhi9u·anno scorso·0 comments

What Happens If We Inline Everything?

sbaziotis.com
34 points·by abhi9u·anno scorso·1 comments

Print CHR$(205.5+RND(1));: Goto 10

10print.org
2 points·by abhi9u·anno scorso·1 comments

Understanding Idq_uops_not_delivered Performance Counter

easyperf.net
1 points·by abhi9u·anno scorso·1 comments

Edge-AI Chips Can Solve the Cocktail Party Problem

viksnewsletter.com
1 points·by abhi9u·anno scorso·0 comments

Good Performance for Bad Days

brooker.co.za
2 points·by abhi9u·anno scorso·0 comments

How the jax.jit() JIT compiler works in Jax-JS

ekzhang.substack.com
2 points·by abhi9u·anno scorso·0 comments

Implementing a spellchecker on 64 kB of RAM

pcgamer.com
1 points·by abhi9u·anno scorso·0 comments

Functors, Applicatives, and Monads

thecoder.cafe
84 points·by abhi9u·anno scorso·87 comments

comments

abhi9u
·anno scorso·discuss
Author here: i encourage you to check the 60+ other articles there before coming to this conclusion.

Maybe everyone should start writing half sentences mixed with ... to not sound like an AI!
abhi9u
·anno scorso·discuss
RSS seems to be making a come back. Just a couple of days back saw this post going viral on X about RSS https://x.com/0xglitchbyte/status/1878495012800897229
abhi9u
·2 anni fa·discuss
I think most of the optimizations were pretty low level and had nothing to do with Java itself. You could implement the same techniques in any other (compiled) language and get similar performance results. Things like cache locality, ILP, work stealing, multithreading, SWAR etc. In fact, the top solutions mostly used unsafe to use off-heap memory to avoid GC and copying of data.
abhi9u
·2 anni fa·discuss
Yes, the default function argument values is another surprising behavior.

In this case, the default arguments get compiled as part of the function code and are part of the function's environment. As a result every time that function is called it is always having the same environment, i.e. the default argument values are not reinterpreted on every invocation. So the mutations to the environment are visible across function calls.
abhi9u
·2 anni fa·discuss
Thank you (author here).

I have not looked into list comprehensions. I think that and how generators work internally might be interesting to write about. I will try to cover them.
abhi9u
·3 anni fa·discuss
Thanks for sharing Bosky.

I think you gave the wrong URL :)

This one talks about how CPython executes a + b: https://codeconfessions.substack.com/p/cpython-dynamic-dispa...
abhi9u
·3 anni fa·discuss
Sorry about that. Most of my posts are open, but I usually put one of these behind the paywall in a month. I opened this one.
abhi9u
·3 anni fa·discuss
Ray Tracing in One Weekend: https://raytracing.github.io/
abhi9u
·3 anni fa·discuss
Not sure why, but the title is slightly incorrect.

Actual title is "CPython Internals: What Happens Behind the Scenes When You do a + b?"
abhi9u
·3 anni fa·discuss
Not really, you have an option to exclude your content from being indexed by Google (robots.txt).

I don't care as much about Google losing money because of ad-blockers, they have plenty of money going around. The real people losing here are the ones who are creating the content. As it is they need to amass a large number of views to earn few dollars from a video. Depending on the type of content, a lot of time, money and effort goes into creating each of those videos.
abhi9u
·3 anni fa·discuss
It is supposedly an inside joke and not an actual test.

Source: https://twitter.com/michael_nielsen/status/17249896200296205...
abhi9u
·3 anni fa·discuss
Thank you (author here).

I don't read TAOCP. I have read first few chapters of volume-1 so I am familiar with the notation and some MIX syntax.

But while writing this article, I just opened up specific topics, such as computing Fibonacci numbers in volume-1, or evaluating powers in volume-2 and I managed to understand it. Sometimes you may find back references, such as when discussing Fibonacci numbers, he references Euclid's algorithm and you may have to go back and check it out, or ignore it (depends on the context). So I believe you don't necessarily need to read from cover to the end; you can browse it based on your interest.
abhi9u
·3 anni fa·discuss
My bad. I should have looked into the docs. Thanks for pointing out!
abhi9u
·3 anni fa·discuss
Thank you. I will do it.
abhi9u
·3 anni fa·discuss
Nice! Thank you for sharing.
abhi9u
·3 anni fa·discuss
Yes, that book (thirty three miniatures) has great content, but a hard read. Basically someone like me needs to go back, read other sources, and spend time on paper to get it.
abhi9u
·3 anni fa·discuss
Very cool. Thanks for sharing.
abhi9u
·3 anni fa·discuss
Knuth shows that technique in TAOCP, vol-1. It was on the longer side and I didn't want to reproduce it in the interest of space and time. I was more focused on the matrix form.
abhi9u
·3 anni fa·discuss
That's a work of art. Amazing
abhi9u
·3 anni fa·discuss
Python has arbitrary precision integers, so you could do it without running into overflows. Although if implementing floating point based technique, you may want to use np.float128 to handle values upto 10^4932.