HackerTrans
トップ新着トレンドコメント過去質問紹介求人

chrisaycock

no profile record

投稿

The DOGE Bros Want Another Shot

theatlantic.com
2 ポイント·投稿者 chrisaycock·先月·2 コメント

There's Never Been a Better Time to Study Computer Science

theatlantic.com
8 ポイント·投稿者 chrisaycock·2 か月前·1 コメント

French weather service alerts police after suspicious Polymarket bets

ft.com
6 ポイント·投稿者 chrisaycock·3 か月前·0 コメント

SantaCon Leader Ran His Own $1M Con, U.S. Says

nytimes.com
2 ポイント·投稿者 chrisaycock·3 か月前·0 コメント

Glasses Got Worse on Purpose

worse-on-purpose.beehiiv.com
63 ポイント·投稿者 chrisaycock·3 か月前·23 コメント

The Age-Old Urge to Destroy Technology

newyorker.com
2 ポイント·投稿者 chrisaycock·3 か月前·0 コメント

He designed C++ to solve your code problems

stackoverflow.blog
3 ポイント·投稿者 chrisaycock·3 か月前·0 コメント

Economists Once Dismissed the A.I. Job Threat, but Not Anymore

nytimes.com
20 ポイント·投稿者 chrisaycock·3 か月前·9 コメント

Apple Plans AI Reboot with Siri App

finance.yahoo.com
5 ポイント·投稿者 chrisaycock·4 か月前·0 コメント

Tech Workers Max Out Their A.I. Use

nytimes.com
5 ポイント·投稿者 chrisaycock·4 か月前·0 コメント

COBOL Is the Asbestos of Programming Languages

wired.com
7 ポイント·投稿者 chrisaycock·4 か月前·3 コメント

The Dirty, Dystopian World of AI Data Centers

theatlantic.com
4 ポイント·投稿者 chrisaycock·4 か月前·0 コメント

Young billionaires are behind the prediction market boom. They hate each other

npr.org
8 ポイント·投稿者 chrisaycock·4 か月前·1 コメント

Jensen Huang of Nvidia Named IEEE Medal of Honor Recipient

corporate-awards.ieee.org
1 ポイント·投稿者 chrisaycock·6 か月前·0 コメント

Ask HN: Has anyone been able to renew their IEEE this month?

21 ポイント·投稿者 chrisaycock·7 か月前·2 コメント

Show HN: Proposal: Copy-and-Fuse Compilation

gist.github.com
2 ポイント·投稿者 chrisaycock·7 か月前·1 コメント

コメント

chrisaycock
·2 か月前·議論
Yes, it's true that someone can put together a simple language like in a university course. The difficulties, as mentioned at the bottom of the post, are things like metaprogramming features or optimizing compilers.

The tail ends of a language implementation (parsing and code generation) are a fixed cost; the "middle end" can grow unbounded as more production-quality items are added.

My language: https://www.empirical-soft.com
chrisaycock
·3 か月前·議論
The conclusion from the article is that broader economic uncertainty from tariffs and the Iran war have a bigger effect than just AI.
chrisaycock
·4 か月前·議論
std::execution is very interesting, but will be difficult to get started with, as cautioned by Sutter. This HPC Wire article demonstrates how to use standard C++ to benefit from asynchronously parallel computation on both CUDA and MPI:

https://www.hpcwire.com/2022/12/05/new-c-sender-library-enab...

Overlapping communication and computation has been a common technique for decades in high-performance computing to "hide latency", which leads to better scaling. Now standard C++ can be used to express parallel algorithms without tying to a specific scheduler.
chrisaycock
·4 か月前·議論
The government is free to cancel its own contracts. The judge is saying that the government cannot prohibit other entities (like private contractors) from doing business with Anthropic.
chrisaycock
·4 か月前·議論
The project relies on Rayon [1] for scheduling parallel tasks and Cranelift [2] to JIT the hot loops.

There are plenty of other interesting features like auto-FFI, bytecode caching (similar to Python's .pyc files), and "daemonize" mode (similar to mod_perl or FastCGI).

[1] https://docs.rs/rayon/latest/rayon/

[2] https://cranelift.dev
chrisaycock
·4 か月前·議論
The one piece of advice I give new PhD students is to maintain a list of your references for a bibliography ahead of time. For every paper you read, copy the citation in BibTeX format and write a couple of sentences to remind yourself what the paper was about. Do this for every source, even if it doesn't seem important at the time.
chrisaycock
·4 か月前·議論
I hadn't realized that Kalshi is a YC company:

https://news.ycombinator.com/item?id=33696486
chrisaycock
·4 か月前·議論
> I think it would be the best to start interpreting the query and start compilation in another thread

This technique is known as a "tiered JIT". It's how production virtual machines operate for high-level languages like JavaScript.

There can be many tiers, like an interpreter, baseline compiler, optimizing compiler, etc. The runtime switches into the faster tier once it becomes ready.

More info for the interested:

https://ieeexplore.ieee.org/document/10444855
chrisaycock
·4 か月前·議論
Indeed, my very first attempt used numpy.searchsorted:

https://numpy.org/doc/2.2/reference/generated/numpy.searchso...

I couldn't figure-out how Arthur's bin matched on symbol though, so I switched to a linear scan on the right table to record the last-seen index for each "by" element. While it worked, my hash table was messy because I relied on Python to handle a whole tuple as a key, which had some issues during initial testing.

The asof join I wrote for Empirical properly categorizes the keys before they are matched. That approach worked far better.

https://www.empirical-soft.com/tutorial.html#dataframes
chrisaycock
·4 か月前·議論
I first encountered q/kdb+ at a quant job in 2007. I learned so much from the array semantics about how to concisely represent time-series logic that I can't imagine ever using a scalar language for research.

Fun fact: the aj (asof join) function was my inspiration for pandas.merge_asof. I added the extra parameters (direction, tolerance, allow_exact_matches) because of the limitations I kept hitting in kdb.

https://code.kx.com/q/ref/aj/

https://pandas.pydata.org/docs/reference/api/pandas.merge_as...
chrisaycock
·6 か月前·議論
The article points out that tools like TLA+ can prove that a system is correct, but can't demonstrate that a system is performant. The author asks for ways to assess latency et al., which is currently handled by simulation. While this has worked for one-off cases, OP requests more generalized tooling.

It's like the quote attributed to Don Knuth: "Beware of bugs in the above code; I have only proved it correct, not tried it."
chrisaycock
·7 か月前·議論
I had been thinking about this idea for a long time, but I doubt I'll be able to get around to it. After speaking with a friend this evening, I decided to just jot it down for anyone interested.

Basically, use copy-and-patch compilation in a vector language to fuse loops and avoid temporaries. It can be employed for a baseline compiler that will use less memory than an interpreter and will have a much lower startup cost than an optimizing compiler.
chrisaycock
·16 年前·議論
We can add Skulpt (Python) to that list too.
chrisaycock
·16 年前·議論
Right, it's same reason we still have ARM despite the success of x86. Or why some hardware vendors bundle FPGAs rather than rely on GPUs or custom ASICs. The instruction set is absolutely vital for a given domain's performance.
chrisaycock
·16 年前·議論
Whenever I hear "standardized bytecode", I think of Parrot:

http://www.parrot.org/