Re: Kernel Development & Objective-C



Diego Calleja wrote:
El Tue, 4 Dec 2007 22:47:45 +0100, "J.A. Magallón" <jamagallon@xxxxxxx> escribió:

That is what I like of C++, with good placement of high level features
like const's and & (references) one can gain fine control over what
gets copied or not.

But...if there's some way Linux can get "language improvements", is with
new C standards/gccextensions/etc. It'd be nice if people tried to add
(useful) C extensions to gcc, instead of proposing some random language :)

But nobody know such extensions.
I think that the core kernel will remain in C, because
there are no problems and no improvement possible
(with other language)

But the drivers side has more problems. There is a lot
of copy-paste, quality is often not high, not all developers
know well linux kernel, and not well maintained with new
or better internal API. So if we found a good template
or a good language to help *some* drivers without
causing a lot of problem to the rest of community, it would
be nice.

I don't think that we have written in stone that kernel
drivers should be written only in C, but actually there is
no good alternative.

But I think it is a huge task to find a language, a
prototype of API and convert some testing drivers.
And there is no guarantee of good result.

ciao
cate
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: Larkin, Power BASIC cannot be THAT good:
    ... Obviously does, as Linux is written in C (the kernel, the drivers, and many if ... C++ OTOH is not something I consider a language, ... I found asm much more easy than that BASIC because the assembler allowed me nice ...
    (sci.electronics.design)
  • Re: ACPI Error under 2.6.26-rc*
    ... and attach the rsdp for all of the three cases (good, ACPI Error, ... could you please attach the dmesg output of a 2.6.25.10 kernel which has ... # IPVS transport protocol load balancing support ... # Device Drivers ...
    (Linux-Kernel)
  • init_emergency_isa_pool calling mempool_create in non-sleeping context
    ... I just saw this when booting a current linux-2.6.git kernel. ... # Power management and ACPI options ... # Bus options (PCI etc.) ... # Enable WiMAX to see the WiMAX drivers ...
    (Linux-Kernel)
  • Re: 2.6.29+ NFS-Server Problem "reconnect_path: npd != pd"
    ... This is an x86_64 kernel. ... # Device Drivers ... # SCSI device support ...
    (Linux-Kernel)
  • 2.6.25 Regression: DriveStatusError
    ... I tried all -git Kernels since begining of cycle and starting when they finaly ... Root is on a raid1 using a IDE Samsung SP1614N as hda and a SATA Samsung ... Kernel driver in use: VIA_IDE ... # AX.25 network device drivers ...
    (Linux-Kernel)