Hi Sean,
I can not tell about DataFrame performance in particular. But
recently, for TiddlyWikiPharo[1], we needed to read the data store
inside the HTML TiddlyWiki and we did a fluent prototype of it in
Pharo/GT, but when performance was needed, we replace the data
reader/writer by a custom Nim[2] implementation and we get between
10 to 15 times faster performance. You can get a debugging data
story notes (in Spanish) at [3].
[1] https://code.tupale.co/Offray/TiddlyWikiPharo/
[2] https://nim-lang.org/
[3]
http://mutabit.com/repos.fossil/mutabit/doc/trunk/wiki/es/notas-offray--4p69o.md.html
In my experience, once the amount of data to read/serialize outside the image becomes not so large, this hybrid approaches of quick prototyping in Pharo and (de)serialization in faster languages (like the pretty cool Nim) seems like the best one to balance performance of the developer time and the machine execution.... Ummm I wonder what the future holds regarding such hybridations, like writing in Pharo and exporting to Nim :-).
Cheers,
Offray
--
You received this message because you are subscribed to the Google Groups "PolyMath" group.
To unsubscribe from this group and stop receiving emails from it, send an email to polymath-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/polymath-project/b25abbb6-bcd9-4a7d-9f8f-988f8134cc35n%40googlegroups.com.
Hi Sean,
Sorry for my late response. I'm in a tight deadline regarding a data narratives project (I hope to share it soon with the broader Pharo community).
Yes, something like what you're doing is similar to what we're doing, but using Nim instead of Python, so without the bridge. We just use Nim for quick HTML parsing and data serialization from/to JSON and after that we keep data as dynamic objects in the Pharo side. So we use Nim when we strike a performance problem in data reading and (de)serialization from/to JSON and the file system and the all rest is done in Pharo.
Cheers,
Offray
To view this discussion on the web visit https://groups.google.com/d/msgid/polymath-project/e1affc99-2173-4d1c-aac3-8a5b54e732d3n%40googlegroups.com.