Better HN
topnewbestaskshowjobs
Log inSign up

joshuawarner32

64 karma · joined Oct 24, 2015 (11y ago) · 10 submissions

Submissions

comment 3y ago · link · parent

Oooh that sounds really useful, would you mind dropping a link?

comment 4y ago · link · parent

On iPhone the long-press-to-select doesn’t cross the underscore boundary, so you end up just selecting part of the token. Maybe you can do without those underscores?

comment 5y ago · link · parent

That’s covered under ‘natural’ solutions, also eligible for the prize. All you need to do is develop a plan to scale that economically to gigaton/year capacity and claim your prize! Should be easy, right? So just do it!

comment 6y ago · link · parent

I’m glad that there other efforts for memory-safety going on concurrently, and we as a software community should absolutely continue to invest in those. I also agree that rust is not suited for all circumstances that people try to use it in - but I would contend that the set of situations where rust is absolutely the right choice is non-empty. I say this as part of a ~20 person team, rewriting business-critical software in Rust, where most of the engineers I talk with are glad they’re writing rust.

comment 6y ago · link · parent

This article gives some couched pseudo-philosophic reasons why we should believe "tipping points" don't exist, without any citations, numbers, or scientific observations. Sorry, but you're going to have to do better than that. Data, or it didn't happen.

Also, this article was from 2013. Scientific understanding has changed since then.

comment 10y ago · link · parent

See also: https://arxiv.org/abs/1511.04599

IMO, (at least) two pieces of research on the subject means that the short answer really is "yes". Maybe not the exact technique used in the paper in the original post, but conceptually similar techniques.

comment 10y ago · link · parent

Here's the discussion from a while ago: https://news.ycombinator.com/item?id=5482081

comment 10y ago · link · parent

I love the idea, but I'm not going to enter any personal information on a site that's not using https.

comment 11y ago · link · parent

One of the core contributors here. I don't have any numbers, but I can reasonably guess it'll only beat the most naive JITs (i.e., JITs that only copy predefined templates that implement each instruction). Avian's JIT does no optimizations beyond a simple linear-time register allocator and a very basic instruction selector. Avian can run a simple Hello World somewhat faster than HotSpot, but that's about all. In any real-world scenarios, HotSpot and Dalvik/ART will kick the pants off it.

However, that's not what Avian is designed for. We (ReadyTalk) don't have the resources to compete in that sort of market, as fun as that might be. We designed Avian to run a relatively light-weight client application, so we can deploy the same code across all our platforms. We're not running a game or a server, so we don't care a lot frame rate or requests per second.

comment 11y ago · link · parent

One of the core contributors here. The trick is that Avian doesn't do JIT compilation on iOS - instead, we run everything through the "JIT" compiler ahead of time, as we're building the app. This is the only possible technique, outside of interpretation (which Avian can also do, but slowly), and compiling to Javascript to run with JavascriptCore. It's also what I've seen most other VMs do for iOS (including, for instance, the Unity game engine, which used to embed Mono).