News for hackers. Stuff that matters.
Re:Liblfds, a portable, license-free, lock-free data structu... by liblfds on Tuesday May 31, 2016 @12:49PM (#11807710)
Interesting. Why did it turn you away? do you run code on many of the given platforms?
Re:Liblfds, a portable, license-free, lock-free data structu... by Sir_Cmpwn on Tuesday May 31, 2016 @01:25PM (#11808168)
x86, yes, and the limitations on the toolchains you can use is weird and bad.
Re:Liblfds, a portable, license-free, lock-free data structu... by liblfds on Tuesday May 31, 2016 @01:35PM (#11808286)
When you say "limitations", I'm not sure what you mean. I wonder if there's a misunderstanding here - the matrix describes the toolchains which are supported out-of-the-box, i.e. build files for them are provided, and they have all been tested and should work.

It's not a matrix of the ONLY platforms which CAN work. Is that what you're thinking? Other platforms might well need the porting abstraction layer to be implemented (the Intel compiler might offer a different set of atomic intrinsics, for example), but that's what it's there for.

Re:Liblfds, a portable, license-free, lock-free data structu... by Sir_Cmpwn on Tuesday May 31, 2016 @01:40PM (#11808338)
It's not very clear, then. Reading the page leads me to believe that if x is my toolchain then y won't work, and the idea that such a thing could even be possible for your library speaks very poorly for it. I suggest tweaking it if this is not the case.

In any case, I did re-review the library today and I'll still pass on it because I'm very opinionated about C and this library doesn't match my opinions.

And I would like to see ARM64 support before I depend on this sort of thing, too, for what it's worth.

Re:Liblfds, a portable, license-free, lock-free data structu... by liblfds on Tuesday May 31, 2016 @01:54PM (#11808493)
Well, to be fair! the page does say this immediately above the matrix - "The following toolchains and processors are supported out-of-the-box"

However, this is certainly not fully explanitative, and of course is just one line immediately above a large and eye-catching matrix.

I will change it, to make it more clear, and more eye-catching.

Regarding ARM64, it's something I want very much. I will finally have time for it now 7.1.0 is out. I Googled a bit just the other day and there are Pi-like ARM64 dev boards out there now, so I'm going to get one.

Which leaves me needing a SPARC dev board, and a POWERPC dev board, and an x86 dev board, and a MIPS64 dev board, and a... :-)

Re:Liblfds, a portable, license-free, lock-free data structu... by smw on Tuesday May 31, 2016 @02:45PM (#11808983)
Wonder if you can use something like this:

http://elinux.org/Test_Lab_Architecture

to test on someone else's hardware?

Re:Liblfds, a portable, license-free, lock-free data structu... by liblfds on Tuesday May 31, 2016 @03:03PM (#11809150)
I hope so.

I applied to the GCC compiler farm late last year, but received a reply only after so long a time that I'd deleted the key pair I'd submitted because I thought nothing was going to happen - and my efforts to get back in have yet been unanswered.

The GCC compile farm isn't for intensive testing or benchmarking, though (which is what you need for lock-free, to try to catch race conditions) - that test lab sounds more interesting.

I have to say though having your own dev boards which are yours and only yours and which you can hammer endlessly is very convenient. It's actually just occurred to me I can leave all the devs boards permanently running the test suite...

OTOH, I don't think I can get small, portable dev boards for all the platforms I care about, so at least for some architectures, a third-party farm is probably the only way.

Probably the most pressing requirement though is access to a Mac. Right now there are no build files for that platform.

Re:Liblfds, a portable, license-free, lock-free data structu... by monocasa on Tuesday May 31, 2016 @02:08PM (#11808642)
By the way, the Pi3 had ARM64 cores.
Re:Liblfds, a portable, license-free, lock-free data structu... by liblfds on Tuesday May 31, 2016 @02:32PM (#11808853)
I didn't know! thanks! I have a Pi 2 right now for ARM32, I'm completely happy with it.
Re:Liblfds, a portable, license-free, lock-free data structu... by TD-Linux on Tuesday May 31, 2016 @03:45PM (#11809562)
There is no supported 64 bit kernel yet, though.