Live data from Hacker News

Why I'm Betting On Julia

evanmiller.org

31–40 of 258 posts

Re: Why I'm Betting On Julia

#31
post #15
post #9

Earlier quoted context omitted.

This is a confusing rebuttal, because cars have an aerodynamic design primarily for performance reasons, and Evan is very clear in this article that his primary concern is performance. I think you've misread him.

And yet he doesn't care about type systems, which are largely implemented to help with optimization, you see.

Really? My impression is that it's largely correctness.

Re: Why I'm Betting On Julia

#32
post #4

This sounds like premature-optimization to me. Maybe it's just me, but in the apps I write in dynamic languages, the bottleneck is rarely in the language. It's usually in some IO. EDIT: some sentence in the article gave me the impression he was using this for non-math-heavy stuff which is why I said this

You're also not writing real-time apps or scripting games.

There are a lot of reasons to want speed in a dynamic language.

Re: Why I'm Betting On Julia

#33
Wait a minute! Can you embed Julia into a C program like Lua? Can it interface with complex C types cleanly?? This might be the scripting language I'v been looking for in my side project!

Re: Why I'm Betting On Julia

#34
post #20

I'm excited by Julia, but I don't think this article makes a very good sell. It's neat that you can dump the generated assembly, but I'd rather see a demonstration of a robust profiler so that I know which functions I need to dump in the first place. I also disagree that the popularity of Node stems from "getting disparate groups of programmers to code in the same language". From what I've observed, it's not that bac…

The main reason we at clara.io use Node is so that front-end code can run in the back end. Imports, Exports and Renders are done by workers that are essentially headless clients that happen to have access to first and third party binary libraries.

Re: Why I'm Betting On Julia

#35
post #30
post #18

Earlier quoted context omitted.

> Node.js has only a few great use cases where it shines and in the real world, the vast majority of shops have not switched to using it. Of course not. 'Switching' is usually more pain than it's worth, especially if your previous solution works. New start-ups are likely the ones who will be using it, just as Rails took off in the start-up world. Likewise, R and Python are going to continue to be in use in existing p…

In my experience, most people are turned off by using Javascript on the backend of web-development. Your experience may be different, but I just don't think the analogy made in the original article is a very good one.

They may be turned off, but in my experience setting up a Nodejs backed site is incredibly easy with the way the frameworks, libraries, and everything are written. That alone will appeal to a lot of people. Front-end only people could easily put together a Nodejs backed up in no time at all.

Or you could use something like Coffee-script from front-to back. It's a very easy eco-system to get into.

Re: Why I'm Betting On Julia

#36

Wait a minute! Can you embed Julia into a C program like Lua? Can it interface with complex C types cleanly?? This might be the scripting language I'v been looking for in my side project!

Wow. Okay, yes. It can be embedded[1]. It can call C code[2].

Julia may have just saved my project (which was dying because it needed a good scripting language that was fast)!

[1]: http://docs.julialang.org/en/latest/manual/embedding/

[2]: http://docs.julialang.org/en/latest/manual/calling-c-and-for...

Re: Why I'm Betting On Julia

#37

Wait a minute! Can you embed Julia into a C program like Lua? Can it interface with complex C types cleanly?? This might be the scripting language I'v been looking for in my side project!

I foresee Julia overtaking PyObjC, RubyCocoa, Nu, and MacRuby as the scripting language of Mac apps. This looks incredibly perfect. You don't lose performance, so you can even do the hard stuff in Julia. Which makes bridging much less painful. Hoorah!

Re: Why I'm Betting On Julia

#38
post #31
post #15

Earlier quoted context omitted.

And yet he doesn't care about type systems, which are largely implemented to help with optimization, you see.

Really? My impression is that it's largely correctness.

Virtually every optimization even dynamic languages make are about narrowing down exactly what the type something is and which method that is called at runtime. At that point you can do things like inlining and other high powered optimizations.

Re: Why I'm Betting On Julia

#40
post #15

Earlier quoted context omitted.

And yet he doesn't care about type systems, which are largely implemented to help with optimization, you see.

That's arguable - I hear more people talking about how types reduce bugs in code than how it improves performance. Besides, that's one of the three examples he mentioned, and the the other two are not features involved with said optimisation.

Well, it certainly optimises my ability to get shit done if I don't waste it on subtle type-conversion debugging.
Post reply on HN