Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
artagnon
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
121.
▲
by
artagnon
13y ago
The only software that isn't buggy is dead software with no users. All software has bugs, and that is a fact of life. Clearly OpenBSD developers haven't been involved with the compiler engineering communities, and their wishes hav
122.
▲
by
artagnon
13y ago
The OP was clearly talking about memory barriers in architectures, not memory models in multi-threaded programming. Don't nitpick. > Memory is shared system state. To write correct parallel programs, CPUs need to define how they ma
123.
▲
by
artagnon
13y ago
> weak memory ordering is not worth it, because it is better to let the hardware do the hard work and not to burden the programmer with it My question is very simple: why do we have architectures that reorder aggressively if the performa
124.
▲
by
artagnon
13y ago
What?! Linux provides me memory-barrier primitives: smp_mb(), smp_rmb(), smp_wmb() etc. Even an everyday Linux hacker does not need to understand the peculiarities of each architecture, because the locking peculiarities are all abstracted o
125.
▲
by
artagnon
13y ago
I see. Can you explain to me how it fixes the power consumption problem? Yes, I know that it needs to reorder instructions to achieve ILP, but isn't that the entire point of a weak architecture? To reduce the memory barriers and weaken
126.
▲
by
artagnon
13y ago
My takeaway from this presentation: - To achieve instruction-level parallelism, traditional architectures (his example: Haswell) often employ very messy techniques like register renaming which create a huge amount of complexity increasing p
127.
▲
by
artagnon
13y ago
1411 results for https://github.com/search?q=%23lang+typed%2Fracket&type=Code of the total 53k results for https://github.com/search?q=%23lang+racket&type=Code I rest my case.
128.
▲
by
artagnon
13y ago
On a related note, a teaching aid I wrote out for my classmates in high school: http://artagnon.github.io/authored/cs-pointers.pdf
129.
▲
by
artagnon
13y ago
> Most of my computers now use ARM. Factually, there have been more commits to the arch/arm tree than the arch/x86 tree in the last six months. It's true that Linaro, Samsung, and many other companies are interested in tak
130.
▲
by
artagnon
13y ago
I don't have a position to defend, and I am nobody to make any statements of any significance: I did a code review, and I was critical about it. If anything, I want the project to succeed. Evidence? [1] He asked me why I thought Rust w
131.
▲
by
artagnon
13y ago
Hm, a conservative mark-and-sweep that uses tries to keep state. I wonder how the gc task is scheduled, but you're not feeling chatty; so I'll drop the topic. I made claims based on what I (and everyone else) could see in rust.git
132.
▲
by
artagnon
13y ago
> Rust fully supports this case with arenas. Please supply evidence (aka. code) to back your one-liners. I assume you're talking about libextra/arena.rs. It's very straightforward; there's a big comment at the top of
133.
▲
by
artagnon
13y ago
> Sometimes, the major advances come when fresh ideas are infused from the outside. I agree with this largely; over-specialization leads to myopia (often accompanied by emotional attachment to one's work). > In Darwin's case
134.
▲
by
artagnon
13y ago
Let's take a couple of simple examples of when manual memory management is helpful: - implement a complex data structure that requires a lot of memory: you can request a chunk of memory from the kernel, do an area-allocation and choose
135.
▲
by
artagnon
13y ago
My point is that we'll continually find better solutions to existing problems (concurrency, or anything else for that matter). There will be a time in the future when we've come up with a solution that's "good enough&quo
136.
▲
by
artagnon
13y ago
Don't talk rubbish. Nobody enjoys spending 10 hours to accomplish something that can be accomplished in an hour. Ofcourse we're trying to build compilers for nicer languages. Programming isn't going to become any less complex
137.
▲
by
artagnon
13y ago
We've been doing concurrency for many years now; it's called pthreads. Large applications like Linux, web browsers, webservers, and databases do it all the time. The question is: how do we design a runtime that makes it harder for
138.
▲
by
artagnon
13y ago
The art of programming is evolving steadily; more powerful hardware becomes available, and compiler technology evolves. Ofcourse there will be resistance to change, and new compilers don't mature overnight. At the end of the day, it bo
139.
▲
by
artagnon
13y ago
This programmer has written about the PSD format in colorful detail: "Trying to get data out of a PSD file is like trying to find something in the attic of your eccentric old uncle who died in a freak freshwater shark attack on his 58t
140.
▲
by
artagnon
13y ago
You're not going to notice any lags if you use Emacs to work on toy projects. Try a non-trivial operation on a repository of respectable size, like linux.git: if you don't classify those operations as being "completely unusab
141.
▲
by
artagnon
13y ago
Let's put aside the fact that it's a one-man project for one second. I tried building it from sources for an hour before giving up: it depends on lots of custom packages which it fetches and custom patches [1]. Okay, so it has a r
142.
▲
by
artagnon
13y ago
If you don't know Emacs Lisp, there's no point of using Emacs. You'd probably be more productive in Vim or [insert favorite proprietary editor here]. Emacs Lisp is probably the most featureless language you can think of; it
143.
▲
by
artagnon
13y ago
While I won't dispute that Go has some cute primitives, I thought the examples were terrible. On slide 25, it talks about why a simple operation is painful ( http://talks.golang.org/2013/oscon-dl.slide#25 ), and th
144.
▲
by
artagnon
13y ago
Yes, this approach will probably earn you a quick buck and attract some fleeting customers. Nobody with even a shred of integrity will want to be associated with the brand you're creating; so yeah, you'll have a few thousand catt
145.
▲
by
artagnon
13y ago
Feature-wise, Google Docs hasn't caught up with these Office applications; no doubt about that. However, there's nothing wrong with it objectively: plenty of people use it quite happily, and it has no serious deficiencies. In sho
146.
▲
by
artagnon
13y ago
Dinosaur. We're moving towards minimal formatting, and web-based solutions (like Google Docs). The ones who need typesetting are stuck with LaTeX anyway.
147.
▲
by
artagnon
13y ago
I doubt it has any practical application outside llvm.git. Why would you want to write assembly by hand in the first place? 1. To bootstrap. There's various architecture-specific bootstrap code to load the kernel into memory in linux
148.
▲
by
artagnon
13y ago
Running CyanogenMod nightly, because it's the closest I can get to open source: I love getting updates in the form of git SHA-1s every few days. I wonder if upstream Android will ever take to a rolling-release approach.
149.
▲
by
artagnon
13y ago
There's some amount of selection bias: I've authored some of these features.
150.
▲
by
artagnon
13y ago
Curbs artistic freedom, and nitpicks style instead of focusing on grammar issues/ ambiguity.
More ›