SenasOzys has quit [Remote host closed the connection]
jemc has joined #ponylang
endformationage has quit [Quit: WeeChat 1.9.1]
pzel has joined #ponylang
jemc has quit [Ping timeout: 252 seconds]
pzel has quit [Ping timeout: 265 seconds]
vaninwagen has joined #ponylang
<emilbayes>
Is there anywhere I can read about vectorisation/SIMD/AVX/SSE in pony? Is that left up to llvm to figure out or can I use compiler intrinsics somehow?
<vaninwagen>
afaik this is left up to llvm, emilbayes, but i might be wrong.
<emilbayes>
vaninwagen: Ah ok, I see that U128 uses FFI to what I guess is llvm intrinsics? `@"llvm.bswap.i128"[U128](this)`
<vaninwagen>
emilbayes: yes, correct.
mikeyhew has quit [Quit: Connection closed for inactivity]
<_rck>
I was implementing a poc in-memory kv store, and trying to see how to design the application to get parallel reads while allowing writes
<_rck>
so I tried to partition the store to get, at least, parallel reads for separate partitions
SenasOzys has joined #ponylang
SenasOzys has quit [Remote host closed the connection]
_rck has quit [Ping timeout: 240 seconds]
<vaninwagen>
_rck there is still the extreme of using 1 actor per key
<vaninwagen>
_rck all other solutions would require to track access in order to properly balance the actor-keyspace mapping, otherwise skewed access might lead to new bottlenecks
<vaninwagen>
but this is also a nice task to tackle
user10032 has joined #ponylang
_rck has joined #ponylang
<_rck>
that's true, for now most of my tests have been with an uniform key distribution, but of course things will look much different under different assumptions
<_rck>
still, the approach you took with pony-kv might be a good one, if your load is mostly read-only, if performs quite nicely
_rck has quit [Quit: WeeChat 2.1]
_rck has joined #ponylang
vaninwagen has quit [Ping timeout: 240 seconds]
vaninwagen has joined #ponylang
_rck has quit [Ping timeout: 240 seconds]
_rck has joined #ponylang
vaninwagen has quit [Ping timeout: 240 seconds]
_rck has quit [Quit: WeeChat 2.1]
<SeanTAllen>
_rck can you add the dash docset note to the most recent last week in pony so everyone finds out next sunday?
<SeanTAllen>
vaninwagen: i dont think there is anything extreme about an actor per key. its a reasonable design in my mind.
vaninwagen has joined #ponylang
vaninwagen has quit [Ping timeout: 248 seconds]
vaninwagen has joined #ponylang
vaninwagen has quit [Ping timeout: 260 seconds]
mwmiller has joined #ponylang
<mwmiller>
I'm starting on my first "public" pony project and I have somne questions about best practices.
<mwmiller>
I am going to build a redis package, largely by wrapping the official C library. Is it expected that `stable` will be able to download and compile the source of that library? Is there a way to make the library dependency programmatically visible in `stable`? If I don't do any of the above, what will happen for the end user of "what I really want to build" when the depenencies are resolved?
<mwmiller>
If there is a canonical or recommended example of a pony-wrapped C library, I'm happy to read that.
pzel has joined #ponylang
endformationage has joined #ponylang
jemc has joined #ponylang
jemc has quit [Read error: Connection reset by peer]
<SeanTAllen>
mwmiller: wrapping a c library and how to make that work with stable is very wild west. i think your best bet is to start doing it and then come back here and discuss improvements to stable to support what you want to do or even if stable is the right way to do it or if there's some other way.
<SeanTAllen>
i'm going to open an RFC to kick regex and crpyto out of the standard library because it would force this issue and get us to having to start to address.
jmiven has quit [Quit: co'o]
jmiven has joined #ponylang
<mwmiller>
SeanTAllen> i'm going to open an RFC to kick regex and crpyto out of the standard library because it would force this issue and get
<mwmiller>
Sorry, not used to bitchx. Ok, great htnaks. I'll experiment if there aren't extant best practices.
_rck has joined #ponylang
<_rck>
SeanTAllen: sure, I'll add it!
pzel has quit [Ping timeout: 256 seconds]
mwmiller has quit [Quit: BitchX: it's shagadellic, baby!]
mwmiller has joined #ponylang
pzel has joined #ponylang
_rck has quit [Quit: WeeChat 2.1]
<strmpnk>
I don’t know if it’d be an unpopular position but doesn’t kicking out crypto and regex just displace the problem to even less certain ground (sorry Pony-stable)? I consider these things pretty important.
<strmpnk>
I like the batteries included setup of the standard library and would even like to see a few things added like libponyc bindings, pony-stable integration, and such.
pzel has quit [Ping timeout: 252 seconds]
<strmpnk>
Splitting things out is likely to give us platform support blind spots and make dependency management a bigger pain point.
<strmpnk>
The support story for these things is hard but that might point towards the need to vendor these libraries rather than depend on the host.
pzel has joined #ponylang
mwmiller has quit [Quit: BitchX-1.2.1 -- just do it.]