7 ms·
Yorick is an interpreted programming language for scientific simulations
- Yoric 3y agoI can only applaud the choice of name :)
- shortrounddev2 3y agoProtip to anyone with a custom language and a Readme for it: put an example of the code in the first page of your website so I can see what the language is like rather than reading about it
- tu7001 3y agoSourceforge? Seriously?
- FFP999 3y agoLast update 2014, story checks out.
- kstrauser 3y agoThe changelog would seem to suggest that “is” is generous.
- DrNosferatu 3y agoLast used it back in 2003! For fiber optics simulations in science applications. …anyone with stories from the road?
- lemak 3y agoI used it around that time too, in university. Cam mechanisms, and other stuff that I can't find the English words for right now :) I've forgotten everything about it, but I remember that it had quite "magical" array indexing. I haven't encountered another language that comes even close to that.
- DrNosferatu 3y agoAlso that - research project at university.
- bla54321 3y agoWhy does clicking on examples download Drum.mov is this malware?
- enoch2090 3y agoI tried to open this file while it says unsupported encoding, and crashed out my file explorer
- LargoLasskhyfv 3y agohttps://mpv.io https://mpv.io played it without fuss. (Under Linux)
- enoch2090 3y agoThis is sick, the file explorer kept crashed out until I rebooted, and then I have to scan my disk for risks for hours. No risks for now, don't try to open that file guys :(
- dr_kiszonka 3y agoIt looks like the author now focuses on plugins for Yorick: https://github.com/emmt/Yeti https://github.com/emmt/Yeti (and works on Julia).
- jkaptur 3y agoHere's a skull now; this skull has lain in the earth three and twenty years.
- deleted 3y ago[deleted]
- jph00 3y agoThe thing I find most interesting about this language is that it's actually the original source of array/tensor broadcasting, which is now used pretty much everywhere (e.g. pytorch, numpy, tensorflow, etc...) https://twitter.com/jeremyphoward/status/1575312671288991744 https://twitter.com/jeremyphoward/status/1575312671288991744
- bradrn 3y agoSurely it dates back even further, to APL?
- semi-extrinsic 3y agoAnd the Numpy style of writing things goes back at least to Fortran 90: real a(32,32) real b(32) b = a(:,4)
- jkafjanvnfaf 3y agoMATLAB had its first commercial releases in the mid-80s and had indexing syntax that looks pretty much the same. Since it got popular very quickly, I assume that it is the most immediate source of Fortran 90's indexing style. ALGOL 68 had some form of array slicing as well, but I'm not sure how influential it really was in this department.
- imurray 3y agoI don't know APL, but from what I found quickly, APL's "conformability" rules[1] only seem to be a subset of the Yorick/NumPy broadcasting? Here's a Python example of broadcasting that APL doesn't seem to support(?): subtracting arrays of shape (3,1,7,5) and (1,4,1,5) to get an array of shape (3,4,7,5). from numpy.random import randn randn(3,1,7,5) - randn(1,4,1,5) Inspired by other comments in this thread: The second line can also be run in current versions of Octave/Matlab as-is, BUT they didn't support it before NumPy, and neither did/does FORTRAN[2]. Mathworks resisted introducing this general form of broadcasting into Matlab for a long time. Octave then did it anyway (version 3.6.0 in 2012), and Matlab eventually followed (version R2016b). Before late 2016, Matlab code required `bsxfun(@minus, A, B)` instead of `A-B` to get broadcasting, and before bsxfun (introduced in R2007a) it was even more awkward (code often used `repmat`, or indexing tricks to explicitly expand arrays in memory to match shape). [1] https://aplwiki.com/wiki/Conformability https://aplwiki.com/wiki/Conformability [2] suggestion from 2022 to introduce broadcasting to Fortran: https://github.com/j3-fortran/fortran_proposals/issues/252 https://github.com/j3-fortran/fortran_proposals/issues/252
- scudsworth 3y agoalas, poor yorick. i knew it well,