algeriatul team mailing list archive
-
algeriatul team
-
Mailing list archive
-
Message #00208
Re: [Bug 1] Microsoft has a majority market share
> > > So how do i use libmysql to connect to my postres database again? None of those are database libraries. They are database-specific client libraries. The only C database lib i know that is actively developed i libzdb (http://www.tildeslash.com/libzdb/documentation.html).
> >
> > You don't. As you've said, libmysql is a client library for MySQL server
> > and libpq is it's PostgreSQL equivalent. I guess you're talking about
> > some wrapper library which serves as another abstraction layer built on
> > top of various database libraries, but I believe using this kind of
> > stuff is a very bad idea, because it only introduces more bugs and it's
> > definitely less efficient than using selected database directly, but if
> > you really need this then there's libdbi, libyada, UNIXODBC and others
> > so this shouldn't be a problem.
I forgot to comment on this in my previous reply. Using an abstraction layer does not decrease efficiency, as they are very thin. Abstraction layers that is does impose a performance problem does not live long, unless they add A LOT of functionality. libdbi has been unmaintained for quite a while, but was the closest thing to MSDAC that we had with wrappers for PHP and many other languages. I was a bit unclear here. When i said we need a native database library i did not mean one limited to native C/C++ apps. I meant one that is written in such a language but established as a standard to other languages.
While such an abstraction layer may introduce bugs they may also
neutralize bugs. For example they can work around problems in the
specific client libraries, and they can also have their own
implementation of common functionality that is shared between databases.
This means code deduplication and therefore decreased chance of bugs.
The most important feature of an abstraction layer is that changing
database is a lot easier and you usually only have to change some
incompatible SQL code. Use an SQL builder and that problem is gone to.
When creating an application that supports many database engines this
means a lot less bugs. And usually applications need to support more
then one database so that makes the "more bugs" argument void for major
applications. Actually dbmail changed to libzdb for this specific
reason.
In Windows client libraries is usually implemented as MSDAC or ODBC
components. This kind of standardization also decreases the probability
of bug. Here is also one of the main reasons to have a OO extention to libraries (like COM). Creating bindings for a OO library in PHP, Python, Pearl, Java etc usually means writing a lot of code in their respective languages. In windows all these languages just use MSDAC trough OLE, there is no native support for MSDAC in them, it just work as there are a standard for how to call ANY such component. This also removes a lot of duplicate code and loads of potential bugs.
_________________________________________________________________
Klicka här!
http://new.windowslivemobile.msn.com/SE-SE/windows-live-hotmail/default.aspx
--
Microsoft has a majority market share
https://bugs.launchpad.net/bugs/1
You received this bug notification because you are a member of Ubuntu 4
dz, which is a direct subscriber.
Status in Club Distro: Invalid
Status in Computer Science Ubuntu: Invalid
Status in EasyPeasy Overview: Invalid
Status in Ichthux - Linux for Christians: Invalid
Status in JAK LINUX: Invalid
Status in The OpenOffice.org Suite: Invalid
Status in Tabuntu: Invalid
Status in A simple player to online TV streaming: Invalid
Status in Tv-Player: New
Status in Ubuntu: In Progress
Status in “ubuntu-express” package in Ubuntu: Invalid
Status in The Jaunty Jackalope: Invalid
Status in “ubuntu-express” source package in Jaunty: In Progress
Status in Baltix GNU/Linux: Confirmed
Status in “linux” package in Debian: Confirmed
Status in Fluxbuntu: The Lightweight, Productive, Agile OS: Confirmed
Status in openSUSE: New
Status in Tilix Linux: New
Bug description:
Microsoft has a majority market share in the new desktop PC marketplace.
This is a bug, which Ubuntu is designed to fix.
Non-free software is holding back innovation in the IT industry, restricting access to IT to a small part of the world's population and limiting the ability of software developers to reach their full potential, globally. This bug is widely evident in the PC industry.
Steps to repeat:
1. Visit a local PC store.
What happens:
2. Observe that a majority of PCs for sale have non-free software pre-installed.
3. Observe very few PCs with Ubuntu and free software pre-installed.
What should happen:
1. A majority of the PCs for sale should include only free software like Ubuntu.
2. Ubuntu should be marketed in a way such that its amazing features and benefits would be apparent and known by all.
3. The system shall become more and more user friendly as time passes.
Follow ups
References