mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Coding regulations
@ 2003-04-26  2:14 rmoser
  2003-04-26  9:21 ` Jörn Engel
  0 siblings, 1 reply; 2+ messages in thread
From: rmoser @ 2003-04-26  2:14 UTC (permalink / raw)
  To: linux-kernel

Yeah just a quick question.  Not that I am actually able to code kernel
level drivers (I wish), but when I do code that would be part of one, I would
prefer not to make it a hassle for others to impliment.

To the point, I tend to do C++ classes, then make a C interface.  Makes
it easier for me to program.  Now, you may not want to mess with the C++
and convert it over, plus you may not want C++ code in the kernel.  I am
about to start on the compression code for the fast algorithm that may be
used for kernel swap compression and compressed swap-on-ram, assuming
these swap modules are implimented.  I don't want to cause any... oddities.

The C interfaces are just C functions that take a numerical handle which
identifies a class in a self-sorting linked list, as well as all the other data that
goes to each member function of the classes.  I can still do it in C alone but
it's a little more work.  Just don't wanna mess anyone/anything up.

--Bluefox Icy


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-04-26  9:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-26  2:14 Coding regulations rmoser
2003-04-26  9:21 ` Jörn Engel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®