Hi cafe,
The rtsopts (-s etc) can provide some nice debugging information regarding
memory management. And System.Mem.performGC can initiate garbage
collection. But are there APIs for querying the current state of the heap?
I've googled and come up dry.
In this case I'm running benchmarks and
Hi all,
I released the intel-aes package which has support for AESNI (and as a
fallback uses the same C code as AES, both with Thomas's
Crypto.Classes.BlockCipher interface).
But it has a long way to go to be portable. I'm afraid of exactly these
sorts of compiler problems. For arguments sake,
Oops, I guess I misinterpreted package description. It did sound a little
dangerous ;-).
What you suggested also worked. I'm in good shape now.
Thanks again,
-Ryan
On Mon, Jan 31, 2011 at 11:24 AM, Duncan Coutts
duncan.cou...@googlemail.com wrote:
On Mon, 2011-01-31 at 09:52 -0500, Ryan
in Haskell loop]
This is what Burton Smith originally thought, that AES based RNG would be
pretty fast and even faster with hardware acceleration.
-Ryan
On Mon, Jan 31, 2011 at 1:25 AM, Ryan Newton new...@mit.edu wrote:
Hi Cafe,
I've included Gladman's efficient, portable C implementation
Hi cafe,
I am trying to link a .a file built by a separate makefile into my
library. GHC has no problem with it, but I need to convince cabal to do it
for the package to be hackage-friendly. There's a thread about this back in
2007:
/libintel_aes.so obj/x64/intel_aes.o
obj/x64/iaesx64.o obj/x64/do_rdtsc.o
On Sun, Jan 30, 2011 at 12:22 PM, Duncan Coutts
duncan.cou...@googlemail.com wrote:
On Sun, 2011-01-30 at 05:20 -0500, Ryan Newton wrote:
I am trying to link a .a file built by a separate makefile into my
library. GHC has
.
-Ryan
P.S. Checkout command:
git clone git://github.com/rrnewton/intel-aes.git
On Sat, Jan 29, 2011 at 8:52 AM, Ryan Newton rrnew...@gmail.com wrote:
perhaps performance? Is this approach less robust with a faster,
non-cryptographic RNG?
Yes, I don't understand that either
Hi cafe,
I want to add the ability to use AES-NI instructions on Intel architectures
to GHC. Mainly I'd like to do splittable random number generators based on
AES as was suggested at the outset of this email. (I met Burton Smith last
week and this topic came up.)
I was just reading the below
[3] http://hackage.haskell.org/package/cryptocipher
On Fri, Jan 21, 2011 at 2:19 PM, Ryan Newton rrnew...@gmail.com wrote:
Hi cafe,
I want to add the ability to use AES-NI instructions on Intel
architectures
to GHC. Mainly I'd like to do splittable random number generators based
On Wed, Nov 10, 2010 at 11:33 AM, Lauri Alanko l...@iki.fi wrote:
So a naive implementation of split would be:
split g = (mkGen seed, g')
where (seed, g') = random g
Just to be clear, that is the same as Burton Smith's original proposal that
Simon mentioned at the outset, right?
Dear Haskellers,
We're looking for outstanding candidates for an internship in Spring 2011.
The internship will be in a suburb of Boston (Hudson, MA). Graduate
students and talented undergraduates are welcome to apply, but time is a bit
short.
We are a small research group run directly by the
was corrupted, the Nikola project can be
found here http://www.eecs.harvard.edu/%7Emainland/projects/nikola/.
On Mon, Nov 15, 2010 at 11:02 AM, Ryan Newton rrnew...@gmail.com wrote:
Dear Haskellers,
We're looking for outstanding candidates for an internship in Spring 2011.
The internship
for mobile or
otherwise low-bandwidth devices this can be a nice alternative.
On 24 October 2010 04:41, Ryan Newton new...@mit.edu wrote:
When I encounter a split-index (A-Z) page it can be quite frustrating if
I
don't know the first letter of what I'm searching for. I want to use my
browser
bertram.felgenha...@googlemail.com wrote:
Ryan Newton wrote:
Would there be anything wrong with a Data.Set simply chopping off half
its
(balanced) tree and returning two approximately balanced partitions
...
cleave :: Set a - (Set a, Set a)
cleave Tip = (Tip, Tip)
cleave (Bin _ x l r
This gets the ghc executable itself from 42mb down to 5.6mb, which helps a
lot on cruddy NFS installations.
For example the libHSghc-*, which are pretty huge (49-137mb). Are these
libraries that are used only by GHC for compilation? (Actually, I seem to
be able to compile simple files without
Well, it's not 2010.2 anymore because I had to upgrade a few packages ;-),
but if you want to try out some of the new GHC 7 features this can get you a
working cabal-install. Download here:
http://parfunk.blogspot.com/2010/10/hacking-together-working-version-of.html
Apologies if this is
Would there be anything wrong with a Data.Set simply chopping off half its
(balanced) tree and returning two approximately balanced partitions -- i.e.
Data.Set.split without the pivot argument? Even though it can't quite be
constant-time (still need rebalancing) it could still be cheaper
than
Would there be anything wrong with a Data.Set simply chopping off half its
(balanced) tree and returning two approximately balanced partitions -- i.e.
Data.Set.split without the pivot argument? Even though it can't quite be
constant-time (still need rebalancing) it could still be cheaper
than
Belated update:
The haskell-cnc distribution (if you grab it from darcs) now has a front-end
that parses the graph description files.
http://hackage.haskell.org/package/haskell-cnc
For any readers who haven't seen this before -- CnC is a parallel
programming model that includes both a
GHC docs seem to have the problem that newer versions only gradually
overtake older ones in page rank, resulting in the effect that if one
uses Google to find library documentation, they may accidentally look
at an old version. For example, if I google Data.Data Haskell the
first link brings me
GMaps -- families of map implementations indexed by the key type --
are an example on the wiki:
http://www.haskell.org/haskellwiki/GHC/Type_families
I've been using something like this myself. It sure would be nice to
have a fully developed version on Hackage, and I may try to submit
this
What's the easiest reference for how to build GHC head and get it up
and running with cabal/haskell-platform?
I simply installed 6.12 + haskell-platform then built ghc-6.13.xx and
rebuilt only the packages I needed with cabal install --reinstall.
Perhaps this is not the recommended way.
Indeed,
101 - 122 of 122 matches
Mail list logo