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.

Open Big Data Computing with Julia

70 pointsby astrieannaover 11 years ago

6 comments

EvanMillerover 11 years ago
I like Julia because in many ways, it&#x27;s a better C than C:<p>* You can inspect a function&#x27;s generated LLVM or (x86, ARM) assembly code from the REPL. (code_llvm or code_native)<p>* You can interface with C libraries without writing any C. That let me wrap a 5 kLoC C library with 100 lines of Julia:<p><a href="https://github.com/WizardMac/DataRead.jl" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;WizardMac&#x2F;DataRead.jl</a><p>* You can use the dynamic features of the language to write something quickly, then add type annotations to make it fast later<p>* Certain tuples are compiled to SIMD vectors. In contrast, the only way to access SIMD features in C is to pray that you have one of those &quot;sufficiently smart compilers&quot;.<p>* Like C, there&#x27;s no OO junk and the associated handwringing about where methods belong. There are structures and there are functions, that&#x27;s it. But then multiple dispatch in Julia gives you the main benefits of OO without all the ontological crap that comes with it.<p>For me, Julia feels like it&#x27;s simultaneously higher-level and lower-level than C. The deep LLVM integration is fantastic because I can get an idea for how functions will be compiled without having to learn the behemoth that is the modern x86 ISA. (LLVM IR is relatively simple, and its SSA format makes code relatively easy to follow.)<p>Anyway, I only started with Julia recently, but I&#x27;m a fan. I should also mention that the members of the developer community are very, very smart. (Most are associated with MIT.) BTW I am starting a Julia meetup in Chicago for folks in the Midwest who want to learn more: <a href="http://www.meetup.com/JuliaChicago/" rel="nofollow">http:&#x2F;&#x2F;www.meetup.com&#x2F;JuliaChicago&#x2F;</a>
评论 #6883646 未加载
mrcactu5over 11 years ago
I have installed iJulia -- which involved compiling Julia from source.<p>What little bit I&#x27;ve tried with Julia so far is impressive.<p>What is the story anyway? Did a bunch of MIT people decide they needed something faster than R &amp; numpy ?<p>Julia inventor Alan Edelman is an fellow alumnus of Hampshire College Summer Studies in Mathematics (HCSSiM). Scores points in my book. <a href="https://en.wikipedia.org/wiki/Alan_Edelman" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Alan_Edelman</a><p>He wrote a terrific paper back in &#x27;95 <a href="http://arxiv.org/abs/math/9501224" rel="nofollow">http:&#x2F;&#x2F;arxiv.org&#x2F;abs&#x2F;math&#x2F;9501224</a> &quot;How many zeros of a random polynomial are real?&quot;
评论 #6885667 未加载
pjmlpover 11 years ago
Quite nice to see Julia taking off.
RivieraKidover 11 years ago
I hope that the web libs will improve, I&#x27;m trying to create a very simple web app, but the libs are in alpha stage.
评论 #6883572 未加载
评论 #6884123 未加载
glifchitsover 11 years ago
As a beginner in scientific&#x2F;data computing, is it worth building a foundation in Julia or do with some other tool instead? I&#x27;m comfortable in Python but I don&#x27;t know if its best to teach myself how to use NumPy and friends when I have the opportunity to immerse myself in this brand new shiny technology.
评论 #6882834 未加载
评论 #6882808 未加载
评论 #6882879 未加载
评论 #6883243 未加载
armyover 11 years ago
Very cool. I think the point about transcribing equations directly from papers glosses over some of the hard issues with building numeric libraries around floating point precision and numeric stability.<p>It&#x27;s not that uncommon to see code that would have worked perfectly if double precision floating point numbers were actually real numbers, but which blows up badly once rounding errors happen.<p>Unfortunately there&#x27;s not really any way to abstract those issues away. In general, I&#x27;d hope that any the authors of widely used numeric libraries have carefully thought through these issues.