#Ducktinycc 'C' scripting in #Duckdb via #TinyCC
Of course what better example than the embedded #RStats example from "Writing R extensions".
With a bit more work (and threading issue stuff) this can be extended into some arbitrary R UDFs API for the r-duckdb
Repo: github.com/sounkou-bioi...
Hashtag
#TinyCC
Advertisement · 728 × 90
4
0
1
0
#ridiculousbutcool
Embedding #RStats in #Duckdb via #TinyCC and Duckdb's C extensions API
0
0
0
0
#Duckdb #TinyCC Ridiculous, dangerous but cool !
(very roundabout way to test out ideas of a potential api for a #RStats UDFs extension)
Link for segfault lovers : github.com/sounkou-bioi...
2
0
0
1
#tinycc based #RStats #C #Transpiler, only 4x slower than #{quickr} for the convolution benchmark ! 2-3x faster than naive #C + marshaling. #tinycc transpilation will have an obvious advantage since it can always fallback when transpiling and use `Rf_lang3` since it has access to R's C runtime !
1
4
0
1