Travis Whitaker
Travis Whitaker
After finding https://github.com/tibbe/ekg-core/issues/41 I was curious whether or not a primops-based implementation of cbits could achieve competitive performance. Turns out that it can, with some caveats. I took four measurements...
`hs_atomic_read` and `hs_atomic_write` aren't atomic at all on machines without strong memory models (total read and store ordering). To see an example of the kind of havoc this bad assumption...
It's that time of year again, and having done some work with Nvidia's new hardware sporting "TensorRT" cores, I thought it'd make a nice project to evaluate whether or not...
This is bound to be a fun one: one of my larger kernels is producing incorrect results when compiled with accelerate-llvm-native on MacOS when using LLVM 8. The same kernel...
With the current tip of master: ``` $ cabal run dhall Up to date 01 dhall: Error: Invalid input (input):1:2: | 1 | 01 | ^ unexpected '1' expecting "→",...
RC scripts are quite common for Win32 application development. It'd be nice if Cabal were able to compile and link resource scripts at build time. Since `windres.exe` comes with mingw-w64,...
llvm-hs as it currently exists can't be cross-compiled, because of its reliance on custom hsc2hs define directives. Attempting to cross compile yields an error like: ``` src/LLVM/Internal/LibraryFunction.hsc:38 directive inject cannot...
The following tests were performed on x86_64. Consider this `plain-nixpkgs-test.nix`: ```nix let pkgsrc = builtins.fetchGit { url = "https://github.com/nixos/nixpkgs"; ref = "nixos-21.11"; rev = "2d474d6a4a43a0348b78db68dc00c491032cf5cf"; }; pkgs = import pkgsrc...
The NixOS wiki documents this [neat trick](https://nixos.wiki/wiki/Cross_Compiling#Lazy_cross-compiling) for cross-compiling an individual package without having to worry about whether or not its dependencies may be cross-compiled. The trick is to use...
Between https://github.com/input-output-hk/haskell.nix/pull/1166 (specifically 674f5b0a3db404a612a9e5ca49d059319c59c14f) and master, the `mkStackPkgSet` function seems to not work anymore, at the very least it's changed in some backwards-incompatible way. If I have this stack-test.nix file...