Perhaps I missed this or I'm missing something, but seeing a mention of
quasiquoting on another thread, I reread this entire thread just now before
posting.
If by stealing syntax we mean that the odd programmer who writes
illegiblelinenoisewithoutspaceshastoaddtheoddspacehereandthere, then
Isaac Dupree:
We could try to find out how large Integers get, in practice, in
existing Haskell code (this may be difficult to find out).
Daniel Fischer wrote:
Just as a data-point, my code rarely exceeds 128 bits (at least, beyond
that performance isn't so important anymore).
And Daniel,
As another data point, Python has also re-invented the GMP
wheel, likely for the same licensing reasons. They have
been using a simple implementation of Karatsuba
multiplication for years. I have never heard of anyone
complaining about it
Thanks for the data point.
Looks like they swapped
I was working on a shared library that loads up the GHC runtime (via hs_init)
and have been running into a bunch of undefined stg symbols.
A bit of digging and it seems that GHC doesn't embed
- the dependency libHSrts-ghc6.12.1.so, and
- the associated rpath /usr/lib/ghc-6.12.1
into shared
Hi Tyson,
This blog post
(http://blog.well-typed.com/2009/05/buildings-plugins-as-haskell-shared-libs/)
might help explain the motivation (actually there are a few relevant
posts on the well-typed site).
Essentially, I believe that this is done so that you can vary the RTS
by changing
I think it would be great to have a benchmark, to test Integer
performance at various implementations. Perhaps it could test speed of
Int, Int64, Int32 as well (for computations that fit within them). I
suppose tight numeric loops are key to measuring performance in a useful
way (except for
I wrote:
As another data point, Python has also re-invented the GMP
wheel, likely for the same licensing reasons. They have
been using a simple implementation of Karatsuba
multiplication for years. I have never heard of anyone
complaining about it
Greg Fitzgerald wrote:
Looks like they
On February 22, 2010 17:00:25 Max Bolingbroke wrote:
Hi Tyson,
This blog post
(/) might help explain the motivation (actually there are a few relevant
posts on the well-typed site).
Essentially, I believe that this is done so that you can vary the RTS
by changing LD_LIBRARY_PATH. I've
Tyson and others
Would you like to gather some of what you have learned into a user-oriented
Wiki page about how to use shared libraries in GHC? The right place for this is
http://haskell.org/haskellwiki/GHC
under Contributed documentation.
You probably have all the material in the