6 ms·
As an outsider, I'd like to see somewhere near the home page a few short snippets of code to get a feel for Julia and hopefully show the kind of uses for which
by athenot 8y ago
As an outsider, I'd like to see somewhere near the home page a few short snippets of code to get a feel for Julia and hopefully show the kind of uses for which it is a natural choice.
Nim's home page¹ shows a piece of sample code right at the top. Perl6's page² has a few tabs quickly showing some patterns it's good at. Golang³ has a dynamic interpreter prepopulated with a Hello World.
Julia's home page shows a nice feature list and links to docs to deep dive but it doesn't do a good job of selling it.
¹ https://nim-lang.org https://nim-lang.org
² https://perl6.org https://perl6.org
³ https://golang.org https://golang.org
- ur-whale 8y agoAgreed. Even better if they had code snippets that highlights what makes the language cool (instead of the usual "Hello World").
- pkofod 8y agowhat is "cool" is very person specific though. It's hard to fully appreciate multiple dispatch in 8 lines for example
- waldir 8y agoI found https://giordano.github.io/blog/2017-11-03-rock-paper-scissors/ https://giordano.github.io/blog/2017-11-03-rock-paper-scisso... to be a pretty good attempt at that. Of course, the code's elegance will probably not be immediately evident to a beginner, but a link to the full explanation could suffice to complement that.
- ChrisRackauckas 8y agoFor scientific computing, showing the package ecosystem is the most important thing. When you look at this thread, people are asking about dataframes and differential equations. Julia's site reflects this: yes there are things like Pandas, and for plotting, etc.
- StefanKarpinski 8y agoI do think we should add a code sample prominently on the page, however. I've always find it really frustrating when I look at a programming language and can't get a quick sense of how it looks. If a language looked like, say, APL, I'd be reluctant to use it even if it had an impressive ecosystem. Issue filed: https://github.com/JuliaLang/www.julialang.org/issues/115 https://github.com/JuliaLang/www.julialang.org/issues/115.
- ChrisRackauckas 8y agoOh I thought the first tab had code and the complaint was it was too low. I guess that was a prototype build of the site. Yeah we should get that back.
- essenciary 8y agoYeah, there is code set up in the page to add a code sample for each tab in the ecosystem. It's a matter of content (adding it).
- celrod 8y agoRacket sounds like a really exciting language, but every time I look at some code...
- 3rdAccount 8y agoRacket is having its runtime replaced with the now open-source chez scheme, so it should get faster (my limited understanding) even though it is already faster than a lot of dynamic languages. Lisp languages do take a long time to get used to.
- Svenskunganka 8y agoThe blog mentions that Julia is supposed to be a general purpose language, and not a language built specifically for scientific computing. Is that wrong? The first impression does leave me thinking that using Julia for different programming domains like distributed internet-facing servers or web services is not something it was built for.
- samuell 8y agoI agree, and I think they had a short code example earlier. It was one of the things that got me interested in it then.
- 3JPLW 8y agoDefinitely agree. We just revamped the website and I'd love to see some domain-specific examples of Julia code in the multi-tab "ecosystem" section. I think it'd make a great addition. :)
- deleted 8y ago[deleted]
- mi_lk 8y agoOff-topic, but how do you type footnote-style number?
- KenoFischer 8y agoOpen a julia editor or the julia repl, type `\^1<tab>` and copy and paste the unicode superscript ¹ into your post. Or whatever else your preferred method of getting unicode characters is ;).
- rrock 8y agoI see I'm not the only one that uses the Julia REPL to get unicode characters!