duncan (Duncan Coutts)
User

Projects

User does not belong to any projects.

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Wednesday

  • Clear sailing ahead.

User Details

User Since
Jun 28 2014, 3:21 PM (151 w, 2 d)
Availability
Available

Recent Activity

Mar 17 2017

duncan accepted D3358: base: Implement bit casts between word and float types.

I'm happy with it. It's the same impl as I had in the cbor lib, and I must have thought about it then :-)

Mar 17 2017, 3:33 PM

Feb 15 2017

duncan added inline comments to D3090: Add support for concurrent package db access and updates.
Feb 15 2017, 5:19 PM
duncan added a comment to D3132: JSON profiler reports.

No comment on the code details, but in principle having a machine readable format for the time profile would be very nice. Having written a tool that reads the existing human-readable format, I can attest to the fact that it's quirky and difficult to parse.

Feb 15 2017, 9:52 AM
duncan requested changes to D3090: Add support for concurrent package db access and updates.

So this is a whole lot better. It really clarifies when we're holding locks. I like it.

Feb 15 2017, 7:25 AM

Feb 8 2017

duncan added a comment to D3090: Add support for concurrent package db access and updates.

Here's a sketch for how to get the ghc-pkg Main code a bit clearer on the read vs read/write cases

Feb 8 2017, 10:13 AM

Feb 7 2017

duncan added a comment to D3090: Add support for concurrent package db access and updates.

I wonder if we can get ghc-pkg to be more disciplined in the types for opening for read vs read/write. I'll see if I can come up with a GADT trick...

Feb 7 2017, 1:16 PM
duncan added a comment to D3090: Add support for concurrent package db access and updates.

So I think in the ghc-boot code it would be nicer to factor things like this:

Feb 7 2017, 1:04 PM

Feb 6 2017

duncan added a comment to D3090: Add support for concurrent package db access and updates.

Not yet reviewed the ghc-pkg changes, but the first parts look good.

Feb 6 2017, 7:08 PM
duncan added a reviewer for D3090: Add support for concurrent package db access and updates: duncan.
Feb 6 2017, 6:55 PM

Oct 20 2016

duncan updated subscribers of D2611: Add and use a new dynamic-librariy-dirs field in the ghc-pkg info.

@bgamari so the Cabal changes have been merged into Cabal master and 1.24 branches.

Oct 20 2016, 4:44 PM

Oct 19 2016

duncan added a comment to D2611: Add and use a new dynamic-librariy-dirs field in the ghc-pkg info.

https://github.com/haskell/cabal/pull/3979 has been updated and these patches have been tested together by @christiaanb:

Oct 19 2016, 7:40 AM

Oct 18 2016

duncan added a comment to D2611: Add and use a new dynamic-librariy-dirs field in the ghc-pkg info.
In D2611#75879, @Phyx wrote:

Doesn't https://github.com/ghc/ghc/blob/master/utils/ghc-cabal/Main.hs#L357 need to be updated as well. When RPATH is turned off (or unavailable such as on Windows) GHC should still work correctly.

Oct 18 2016, 1:51 PM
duncan added inline comments to D2611: Add and use a new dynamic-librariy-dirs field in the ghc-pkg info.
Oct 18 2016, 1:42 PM
duncan added a comment to D2611: Add and use a new dynamic-librariy-dirs field in the ghc-pkg info.

Oh should have mentioned https://github.com/haskell/cabal/pull/3979. That was abandoned, but we decided actually it's the right approach, so we'll likely use a derivative of that.

Oct 18 2016, 1:16 PM
duncan retitled D2611: Add and use a new dynamic-librariy-dirs field in the ghc-pkg info from to Add and use a new dynamic-librariy-dirs field in the ghc-pkg info.
Oct 18 2016, 1:09 PM

Aug 26 2016

duncan added inline comments to D2476: Fix handling of package-db entries in .ghc.environment files, plus minor related things.
Aug 26 2016, 6:02 AM
duncan retitled D2476: Fix handling of package-db entries in .ghc.environment files, plus minor related things from Allow comments and fix spaces in file names in .ghc.env files to Fix handling of package-db entries in .ghc.environment files, plus minor related things.
Aug 26 2016, 5:57 AM
duncan updated the diff for D2476: Fix handling of package-db entries in .ghc.environment files, plus minor related things.
  • Fix handling of package-db entries in .ghc.environment files
  • Allow comments and fix spaces in file names in .ghc.env files
Aug 26 2016, 5:52 AM
duncan retitled D2476: Fix handling of package-db entries in .ghc.environment files, plus minor related things from to Allow comments and fix spaces in file names in .ghc.env files.
Aug 26 2016, 5:48 AM

Aug 2 2016

duncan added a comment to D2438: Only trace cap/capset events if we're tracing anything else.

The reason I originally made cap tracing unconditional was for the eventlog (as explained in the comment that's being deleted here), I wasn't considering the other debug trace stuff. So given that it'll still emit cap events when any other eventlog trace class is enabled means it's still follows that line of thinking.

Aug 2 2016, 6:49 AM