TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Julia Impressions

82 pointsby a0about 11 years ago

14 comments

ninjinabout 11 years ago
I really want to get into Julia. As I have been using an increasing amount of numerical code NumPy, SciPy and even my own Cython code has started to fail me performance-wise. The Julia community is really friendly and I tried rolled out a few implementations of the inner-most loop of a Recursive Neural Net in a variety of languages.<p><a href="https://github.com/ninjin/ppod/tree/master/hck/rnn_perf" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ninjin&#x2F;ppod&#x2F;tree&#x2F;master&#x2F;hck&#x2F;rnn_perf</a><p>Disappointingly enough I was unable to push the performance of Julia beyond that of pure (and ugly) Matlab. I tried asking over at #julia, but it seems that my implementation should be reasonably canonical. This is really a pity for me since I would love to remain highly productive in terms of code and use something scripting-esque rather than have to re-consider going back to C. I have also had a look at Nimrod, but the scientific library support appears somewhat lacking at the moment.
评论 #7678090 未加载
评论 #7679364 未加载
评论 #7681609 未加载
评论 #7679150 未加载
评论 #7680313 未加载
zmmmmmabout 11 years ago
What are the libraries like for Julia at this point? The big thing holding me to R is the breadth of libraries for a) various statistical methods and algorithms and b) plotting.<p>I&#x27;m kind of desperate to get away from R at this point, but reluctant to move to Python (not that I have anything against Python, but I would really like to add a high performance language to my toolkit than something inbetween).
评论 #7678180 未加载
评论 #7678594 未加载
评论 #7679415 未加载
idunningabout 11 years ago
Great stuff. I think the author may be using the release version 0.2, as the boot time issue has been rectified now for the most part in the next release, 0.3. The next big slow-load issues is packages, that&#x27;ll be post 0.3 though.
评论 #7678339 未加载
评论 #7678209 未加载
评论 #7679693 未加载
throwaway13qf85about 11 years ago
I&#x27;m really excited by Julia. We use Matlab heavily in my team (as in, we probably have 300-600 Matlab instances running at any given time not counting the ones on personal workstations) and I&#x27;d love to use a language with similar support for numerical programming and linear algebra, but with better typing and functional programming support.<p>Do you have any suggestions for slowly introducing Julia to the team?
评论 #7679756 未加载
CyberShadowabout 11 years ago
How is multiple dispatch different from function overloading, as found in C++&#x2F;Pascal? Is it the same thing?
评论 #7678047 未加载
评论 #7678131 未加载
评论 #7678107 未加载
irremediableabout 11 years ago
What&#x27;s the deal with the lack of conditionals in comprehensions? Is there a good reason that the Julia devs didn&#x27;t include that, or is it just something that&#x27;s not been implemented yet?<p>Edit: after a little searching, I found this.<p>&gt; Filters and guards don&#x27;t mix with multidimensional comprehensions. For 1-d comprehensions, I&#x27;m not convinced that it&#x27;s really worth the additional syntax. What&#x27;s the case for making it part of the syntax instead of just using a filter function?
评论 #7679181 未加载
xioxoxabout 11 years ago
I was interested in Julia until I discovered that it doesn&#x27;t allow useful things like object-oriented inheritance (unless you go down some complex metaprogramming route). Multiple dispatch is indeed cool, but for some types of systems modelling with inheritance and classes is a great or the best approach (e.g. GUI widget libraries). I thought about how you might wrap something like Qt, gave up, and decided to continue with lovely Python (and its lovely 0 based indexes).
评论 #7679262 未加载
thinkpad20about 11 years ago
I&#x27;ve been following Julia for a while now, not really using it, but playing with it a bit and keeping up with it. I think it&#x27;s very promising and I really look forward to seeing it fledged out more.<p>It&#x27;s a very small nitpick, but I wish Julia had a postfix function application syntax. It would be nice to be able to say `foo = &#x27;hello&#x27;.reverse` and have it be syntactic sugar for `foo = reverse(hello)`. Or some other operator since `.` is in use. This reads nicer for long function chains, and especially when a function modifies its argument, it&#x27;s nice to have that argument come first, which gives an OO-impression. E.g. for me this:<p><pre><code> app = make_app(options) app.route(&quot;&#x2F;&quot;, _ -&gt; &quot;hello, world!&quot;), app.route(&quot;&#x2F;submit&quot;, POST, req -&gt; &quot;hello, $(req.params[&quot;name&quot;])!&quot;) app.start(3000) </code></pre> than this:<p><pre><code> app = make_app(options) route(app, &quot;&#x2F;&quot;, _ -&gt; &quot;hello, world!&quot;), route(app, &quot;&#x2F;submit&quot;, POST, req -&gt; &quot;hello, $(req.params[&quot;name&quot;])!&quot;) start(app, 3000)</code></pre>
评论 #7680018 未加载
hdermsabout 11 years ago
Julia looks like a wonderful mix of Ruby, Python and ML (or something). I&#x27;m really eager to see this adopted by more people.
ihaveqvestionabout 11 years ago
People who are using Julia or similar tools to do &quot;scientific computing, machine learning, data mining, large-scale linear algebra, distributed and parallel computing&quot; - what sort of problems are you solving? How did you end up doing this sort of work?
SandB0xabout 11 years ago
Hmm, I was hoping for some impressions of using Julia for numerical computing. The mechanics of list comprehensions and uppercasing some text seem a little tangential.
评论 #7679967 未加载
doctobogganabout 11 years ago
I too am intrigued by julia based off of my brief interactions with it. My only issue is the lack of namespaces. Is there a good reason why they aren&#x27;t included?
评论 #7679993 未加载
SeanDavabout 11 years ago
If I can ask a stupid question. Why Julia? It seems to me that if you are not going to be using Python, then why not use a language like Java?
评论 #7678979 未加载
评论 #7678996 未加载
评论 #7680669 未加载
matheusbnabout 11 years ago
At the beginning of this article: &quot;I spent most of last night programming in Julia and I&#x27;ve got some thoughts on my first impressions. TL;DR: It&#x27;s like Python with less OOP, more FP and heavier typing. Also, <i>it&#x27;s awesome</i>.&quot;<p>--------------------------------<p>Then I clicked on the site&#x27;s about: &quot;Welcome to Eyeball Trees. My name is Stephen Malone and <i>I cannot be trusted</i>.&quot;<p>I&#x27;m really confused!