473,396 Members | 1,773 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Layered Open Source Software in C

Sorry if this has been asked before.

Does anyone know of any modern examples of open source software
implemented in ANSI-C using a truly layered architecture (preferably
in an OO fashion)?

I'd like to get a feel for what the industry best practices are in
ANSI-C these days. I'm reasonably experienced in C but I don't have
much experience writing layered code in it. I've mainly been using
structural decomposition for most of my programs.
Oct 14 '08 #1
9 2353
On 14 Oct 2008 at 20:53, Shreyas wrote:
Does anyone know of any modern examples of open source software
implemented in ANSI-C using a truly layered architecture (preferably
in an OO fashion)?
Check out glib (http://developer.gnome.org/arch/gtk/glib.html), which
implements an impressive object and type system in C.

Oct 14 '08 #2
On Tue, 14 Oct 2008 13:53:50 -0700 (PDT), Shreyas wrote:
>Does anyone know of any modern examples of open source software
implemented in ANSI-C using a truly layered architecture (preferably
in an OO fashion)?

I'd like to get a feel for what the industry best practices are in
ANSI-C these days. I'm reasonably experienced in C but I don't have
much experience writing layered code in it. I've mainly been using
structural decomposition for most of my programs.
SQLite http://www.sqlite.org/arch.html

--
Roland Pibinger
"The best software is simple, elegant, and full of drama" - Grady Booch
Oct 15 '08 #3
Roland Pibinger wrote:
Shreyas wrote:
>Does anyone know of any modern examples of open source software
implemented in ANSI-C using a truly layered architecture
(preferably in an OO fashion)?

I'd like to get a feel for what the industry best practices are
in ANSI-C these days. I'm reasonably experienced in C but I
don't have much experience writing layered code in it. I've
mainly been using structural decomposition for most of my
programs.

SQLite http://www.sqlite.org/arch.html
also <http://cbfalconer.home.att.net/download/hashlib.zip>

--
[mail]: Chuck F (cbfalconer at maineline dot net)
[page]: <http://cbfalconer.home.att.net>
Try the download section.
Oct 16 '08 #4
On 16 Oct 2008 at 0:48, CBFalconer wrote:
>Shreyas wrote:
>>Does anyone know of any modern examples of open source software
implemented in ANSI-C using a truly layered architecture
(preferably in an OO fashion)?

I'd like to get a feel for what the industry best practices are
in ANSI-C these days.

also <http://cbfalconer.home.att.net/download/hashlib.zip>
*splutter*

Coffee over the screen moment... this is utterly hilarious, and the
hubris is astonishing even by CBF standards.

Oct 16 '08 #5
CBFalconer <cb********@yahoo.comwrites:
Roland Pibinger wrote:
>Shreyas wrote:
>>Does anyone know of any modern examples of open source software
implemented in ANSI-C using a truly layered architecture
(preferably in an OO fashion)?

I'd like to get a feel for what the industry best practices are
in ANSI-C these days. I'm reasonably experienced in C but I
don't have much experience writing layered code in it. I've
mainly been using structural decomposition for most of my
programs.

SQLite http://www.sqlite.org/arch.html

also <http://cbfalconer.home.att.net/download/hashlib.zip>
*blink*

Quite unbelievable.

"if (copying) master->htbl[h] = item;"

Yuck.
Oct 16 '08 #6
Thanks guys - appreciate your help :)
Oct 20 '08 #7
On 16 Oct, 08:44, Richard<rgr...@gmail.comwrote:
CBFalconer <cbfalco...@yahoo.comwrites:
<snip>

OP asked for "good examples of 'layered' software"
also <http://cbfalconer.home.att.net/download/hashlib.zip>

*blink*

Quite unbelievable.

"if (copying) master->htbl[h] = item;"

Yuck
Why? Taken out of context. I can't see a problem.
Oh wait, is is "debugger unfriendly"?
You aren't complaining about the *layout* are you?

Lurkers: Richard <unknownhas some odd ideas.

--
Nick Keighley
Oct 21 '08 #8
Nick Keighley wrote:
On 16 Oct, 08:44, Richard<rgr...@gmail.comwrote:
>CBFalconer <cbfalco...@yahoo.comwrites:

<snip>

OP asked for "good examples of 'layered' software"
>>also <http://cbfalconer.home.att.net/download/hashlib.zip>
*blink*

Quite unbelievable.

"if (copying) master->htbl[h] = item;"

Yuck

Why? Taken out of context. I can't see a problem.
Oh wait, is is "debugger unfriendly"?
You aren't complaining about the *layout* are you?

Lurkers: Richard <unknownhas some odd ideas.
If that's what Richard <unknownis complaining about, I agree with him
(and CBFalconer most emphatically does not). However, making this much
fuss about such a minor point seems an overreaction (and therefore quite
typical of Richard <unknown>).
Oct 21 '08 #9
Nick Keighley wrote:
Richard<rgr...@gmail.comwrote:
>CBFalconer <cbfalco...@yahoo.comwrites:

<snip>

OP asked for "good examples of 'layered' software"
>>also <http://cbfalconer.home.att.net/download/hashlib.zip>

*blink*
Quite unbelievable.
"if (copying) master->htbl[h] = item;"
Yuck

Why? Taken out of context. I can't see a problem.
Oh wait, is is "debugger unfriendly"?
You aren't complaining about the *layout* are you?

Lurkers: Richard <unknownhas some odd ideas.
You are answering a pure troll. This applies to both Richard the
lastnameless and Twinkletoes. Their only objective appears to be
to disturb the newsgroup.

--
[mail]: Chuck F (cbfalconer at maineline dot net)
[page]: <http://cbfalconer.home.att.net>
Try the download section.
Oct 21 '08 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Craig S. Ugoretz | last post by:
Dear newgroup readers, I am pleased to announce the presentation of the new open source software project I have created, called the "Wisdom Seeker IDE". For a description of what open source...
0
by: Neil Hambleton | last post by:
Dear MySQL Contributors, I am studying for a Master's degree with Henley Management College in the UK, and in the past have used a variety of Open Source Software. As part of my course I am...
0
by: dave | last post by:
I don't know whether you know about Open Source Directory: www.sourceforge.net - host open source projects www.webopensource.com - open source directory Check them out. Have fun :) Cheers
0
by: Josh28 | last post by:
Hi We are a group of two chaps, we created a software using .NET and C# to automate the use of Design Patterns. We have put it up at Source Forge--http://dpatoolkit.sourceforge.net/ The...
4
by: Generic Usenet Account | last post by:
Hi, I am trying to list all the major C/C++ open source software sources that are out there on the Internet, to see what all I can use without re-inventing the wheel. There are two that I know...
1
by: =?Utf-8?B?YzY3NjIyOA==?= | last post by:
hi all, I am trying to develop a portal for a eCommerce site. I am wondering if there is any good asp open source software I can start with since the business requirements are quite generic. --...
1
by: chris07 | last post by:
What is expected from interviewee for "OPEN SOURCE SOFTWARE DEVELOPMENT(application developer)". should the person have knowledge on all programming laguages? I am only good at core java! please...
2
N002213F
by: N002213F | last post by:
Is open source software going to go through tough times (not good ) or actually flourish? (good ) What would be the reason for any on the outcome?
1
by: napstar | last post by:
I'm looking for good open source software and hardware inventory management software.Does anyone have any ideas?
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.