News for hackers. Stuff that matters.
Re:FreeBSD 10.3 by dallbee on Sunday April 03, 2016 @10:47PM (#11419093)
Of particular note: This release brings 64 bit support to the Linux compatibility layer.

I suppose when windows caught up Bash on Windows, FreeBSD needed to do something to keep one step ahead =].

Re:FreeBSD 10.3 by akerro on Monday April 04, 2016 @03:26AM (#11420019)
>The Linux® compatibility layer has been substantially improved and now is capable of running 64-bit applications on amd64 (x86_64), 1:1 threading

What does 1:1 threading mean?

Re:FreeBSD 10.3 by kev009 on Monday April 04, 2016 @03:32AM (#11420047)
There are at least three theoretical implementations of userland threads in an Operating System:

* 1:1, where each userland thread maps directly to a kernel thread

* 1:N, where several userland threads map directly to one kernel thread

* M:N, where the kernel maintains a pool of threads and dispatches userland threads to them

History has shown that 1:1 threading has the best trade offs. It's worth more independent research if you are interested in Operating Systems.

Re:FreeBSD 10.3 by akerro on Monday April 04, 2016 @04:06AM (#11420163)
Thanks
Re:FreeBSD 10.3 by anthk on Monday April 04, 2016 @08:04AM (#11421179)
That's reminds me of database record relations.
Re:FreeBSD 10.3 by akerro on Monday April 04, 2016 @10:26AM (#11422083)
Or just re-use of basic structures ;)
Re:FreeBSD 10.3 by xtf on Monday April 04, 2016 @03:31AM (#11420043)
https://en.wikipedia.org/wiki/Thread_%28computing%29#1:1_.28...: 1:1 (kernel-level threading)

Threads created by the user in a 1:1 correspondence with schedulable entities in the kernel[10] are the simplest possible threading implementation. OS/2 and Win32 used this approach from the start, while on Linux the usual C library implements this approach (via the NPTL or older LinuxThreads). This approach is also used by Solaris, NetBSD, FreeBSD, OS X, and iOS.

Re:FreeBSD 10.3 by mkup on Monday April 04, 2016 @05:42AM (#11420491)
It's also worth noting that FreeBSD used to rely on M:N threading model (via libkse) then switched to 1:1 threading model (via libthr).
Re:FreeBSD 10.3 by jdub on Monday April 04, 2016 @05:43AM (#11420496)
Though LinuxThreads was M:N, and Solaris migrated to 1:1 relatively recently too (as did others).
Re:FreeBSD 10.3 by the_why_of_y on Monday April 04, 2016 @02:37PM (#11424224)
No, LinuxThreads was 1:1. Maybe you are thinking of IBM's NGPT proposal?

http://www.onlamp.com/pub/a/onlamp/2002/11/07/linux_threads....

"Relatively recently" would be Solaris 8, in 2000.

Re:FreeBSD 10.3 by toomanythings2 on Monday April 04, 2016 @05:52AM (#11420534)
FreeBSD has supported Linux compatibility for many years and, purportedly, can run some Linux applications faster than Linux itself so FreeBSD has always been miles ahead.
Re:FreeBSD 10.3 by feld on Monday April 04, 2016 @08:24AM (#11421292)
In FreeBSD 6 I could get more fps in America's Army FPS game through Linuxulator on FreeBSD than through running native Linux.
Re:FreeBSD 10.3 by drewg123 on Monday April 04, 2016 @09:57AM (#11421885)
Slightly pedantic, but FreeBSD/alpha ran 64-bit Linux alpha binaries back in 2000/2001 , and 64-bit DEC OSF/1 / Tru64 binaries much earlier.

I think we probably should have ripped the bandaid off, and started supporting 64-bit Linux binaries much earlier on FreeBSD/amd64

Re:FreeBSD 10.3 by cetinsert on Monday April 04, 2016 @05:06AM (#11420357)
Except this is not keeping one step ahead. Windows does run 64-bit Linux binaries natively, watch https://channel9.msdn.com/Events/Build/2016/P488 (skip to 05:12).
Re:FreeBSD 10.3 by mioelnir on Monday April 04, 2016 @01:33PM (#11423708)
So, Windows is catching up to parity. shrug
Re:FreeBSD 10.3 by yxlx on Monday April 04, 2016 @06:06AM (#11420606)
I don't think Windows had anything to do with this. I think the feature has been in development since before and it is released because it's what users want, not because of what Microsoft are doing.
Re:FreeBSD 10.3 by mioelnir on Monday April 04, 2016 @01:43PM (#11423781)
Initial Linux64 support landed in FreeBSD11 on 2015-05-24. The code freeze for the 10.2 release started on 2015-07-03.

Those 5'ish weeks was simply not enough time to get such a major addition sufficiently settled down for inclusion in the stable release branch. As such, it is now part of 10.3R.

Re:FreeBSD 10.3 by eatonphil on Monday April 04, 2016 @07:03AM (#11420845)
Wow! Thanks for pointing this out! I had no idea it was coming so soon. I'm so excited to upgrade. This is particularly useful for some niche compilers (like Poly/ML) who have special features for only linux-x86_64.
Re:FreeBSD 10.3 by schwarze_pest on Monday April 04, 2016 @10:45AM (#11422239)
What are those special features?
Re:FreeBSD 10.3 by eatonphil on Monday April 04, 2016 @12:48PM (#11423322)
Actually, I may have gotten my facts mixed up. It is Golang that only supports some compiling features on linux-x86 like shared object libraries or something along those lines. I can't remember off the top of my head and I can't seem to find what I'm looking for.
Re:FreeBSD 10.3 by mlu on Monday April 04, 2016 @05:04AM (#11420343)
What are the limitations of the Linux compability layer?
Re:FreeBSD 10.3 by mioelnir on Monday April 04, 2016 @01:54PM (#11423868)
Going by the compat.linux.osrelease sysctl, it is currently providing the kernel interface of Linux kernel version 2.6.32 (the one that ships with RHEL6). Similarly, the GNU userland that can be installed is based on CentOS6.

So, if your application requires newer kernel interfaces that were introduced in 3.x or 4.x, it will not work.