Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
arcticbull
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
2007 ms
·
9541.
▲
by
arcticbull
11y ago
The 'garbled microphone input' seems a bit of a red herring, it's likely that the thermal throttling is kicking in which is causing the audio recording app to get slowed to below real time making it sound like garbled. I'
9542.
▲
by
arcticbull
11y ago
That's why we have the 'weak' keyword ^_^ I'm confident any algorithm you want to design for a GC world can be implemented in an ARC world, maybe with a tiny bit of tweaking. It's not that there's 'no need
9543.
▲
by
arcticbull
11y ago
Totally! Or RAII, but that requires much more re-thinking of how your program is put together to do it well. Performance depends on a lot of things. For instance, if you have 'unlimited' memory, GC will be way faster because most
9544.
▲
by
arcticbull
11y ago
The thing with ARC is that you mostly only have to use the weak keyword for delegates (and in certain data structures, etc); it becomes totally second nature and intuitive, you only have to think about it once in a blue moon. It's actu
9545.
▲
by
arcticbull
11y ago
To be clear, modern GCs are truly impressive -- I just don't think that GCs are how we should be addressing memory management. They impress me in the way that, let's say, a Rube Goldberg machine is an impressive way to make toast.
9546.
▲
by
arcticbull
11y ago
I've worked with garbage collected languages (ruby, Java, Objective-C in the bad old days), automatic reference counting (Objective-C and Swift), in the Rust model and manual reference counting/ownership in C over about 15 years n
9547.
▲
by
arcticbull
11y ago
There is actually a neat feature where you can take the address of the thing you're assigning in a static context: static void* address = &address; This is helpful for things that take void* context pointers that you want to match
9548.
▲
by
arcticbull
11y ago
Generally doing anything crafty like this in real-world or production code is just going to cause the next guy who shows up to be very, very confused. Loop unrolling optimizations and the like should really be left to the compiler. If you&#
9549.
▲
by
arcticbull
11y ago
The AVR family of microcontrollers are Harvard machines. http://www.atmel.com/technologies/cpu_core/avr.aspx
9550.
▲
by
arcticbull
11y ago
In case y'all are curious it would make sense if this is LLVM bitcode: http://llvm.org/docs/BitCodeFormat.html Seems like a very smart way to keep things binaries up to date without developer intervention -- and p
9551.
▲
by
arcticbull
12y ago
What I meant is that I see increased compiler validation the future of software development -- not that Rust is there, just that it's a step in the right direction. I'd love a world where I can safely make changes to trunk feature
9552.
▲
by
arcticbull
12y ago
I think for most decent engineers, if you have a small group of good ones, no matter the time pressures they'll deliver you something half decently architected -- most likely with understood compromises. Where things start to take a tu
9553.
▲
Run your own high-end cloud gaming service on EC2
(lg.io)
201 points
by
arcticbull
12y ago
|
71 comments
9554.
▲
by
arcticbull
12y ago
I would never set out to build a language I wanted people to use and not build it as a front-end for LLVM. I don't want to write an optimizer or assembler. I don't doubt for one second that llgo takes a longer time to compile. And
9555.
▲
by
arcticbull
12y ago
I still just don't understand why they insist on building their own toolchain. It just doesn't make sense to me. When you set out to build a programming language, what is your objective? To create a sweet new optimizer? To create
9556.
▲
by
arcticbull
12y ago
I think you're conflating consolidator/unpublished fares with published fares. These were all published fares. Even OTAs have the plating carrier collect the money on published fares. Either way, point of sale doesn't matter
9557.
▲
by
arcticbull
12y ago
That's after losing $500 Million in Q1 2014. You've cherry picked a very, very good year for airlines with low capacity, strong demand and low oil prices. It's a highly cyclic and usually difficult business to be in. However,
9558.
▲
by
arcticbull
12y ago
CFR Title 14 § 399.88 (a): Prohibition on Post-Purchase Ticket Price Increases. http://airconsumer.dot.gov/rules/EAPP_2_FAQ_01-11-2012final.... Section 399.88(a) states that it is an unfair and deceptive practice for a
9559.
▲
by
arcticbull
12y ago
This amounts to a nice benchmark of various implementations of rand() ^_^ Generally, a language in and of itself doesn't have performance characteristics. What you are measuring is the quality of the output of it's compiler. While
9560.
▲
by
arcticbull
12y ago
Haha I wrote a (partially complete) compiler and virtual machine for it a number of years ago. I'll have to dig it up.