From owner-freebsd-hackers@FreeBSD.ORG Thu May 17 07:28:21 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1DAC216A400 for ; Thu, 17 May 2007 07:28:21 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id BCAA313C44C for ; Thu, 17 May 2007 07:28:20 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id BFBC020A7; Thu, 17 May 2007 09:28:15 +0200 (CEST) X-Spam-Tests: AWL,MAILTO_TO_SPAM_ADDR X-Spam-Learn: disabled X-Spam-Score: 0.2/3.0 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on tim.des.no Received: from dwp.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id A58F22088; Thu, 17 May 2007 09:28:15 +0200 (CEST) Received: by dwp.des.no (Postfix, from userid 1001) id 86C095389; Thu, 17 May 2007 09:28:15 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: youshi10@u.washington.edu References: Date: Thu, 17 May 2007 09:28:15 +0200 In-Reply-To: (youshi10@u.washington.edu's message of "Wed\, 16 May 2007 13\:41\:27 -0700 \(PDT\)") Message-ID: <86y7jnucxc.fsf@dwp.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org Subject: Re: SoC X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 May 2007 07:28:21 -0000 youshi10@u.washington.edu writes: > Ok, fair enough. But there's a lot of overhead involved with Java with > their completely OOP view on programming. Not really. Performance issues with Java mostly stem from the virtual machine, and a good JRE should eliminate most if not all of them. > Also, although I know that many database solutions companies (in > particular Oracle and IBM), do like Java, it's not used in many other > regions of the market from what I've seen (Apple, Intel, M$, many > other companies that have openings in my school's resume > databases). Most want C++, C#, and VB.NET (ew)... and maybe Javascript > with AJAX support. Apple aren't interested in Java because they've had Objective C from day one. Microsoft aren't interested in Java because they were legally barred from implementing it after trying to "embrace and extend" it, so they went ahead and reinvented it, badly. > PS If you hated BDB and loved SQL, please note that some SQL engines > use BDB for a database backend instead of MyISAM, INNODB, etc. Because BDB and SQL are orthogonal solutions for orthogonal problems. BDB is a key-value store; SQL is a query language. The bit you're missing in the middle - the bit I think most people really want when they say they want SQL - is a relational database engine. SQLite provides storage, a relational database engine, and a query language (which happens to be SQL but might just as well been a custom query language stripped of SQL's warts), and ACID. The only thing it lacks is strong typing. Implementing strong typing and a better query language on top of the SQLite storage and relational engine is left as an exercise to the reader :) DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no