00:00:00 --- log: started forth/01.12.17 00:07:11 --- join: aum (~aum@l76-133.world-net.co.nz) joined #forth 00:08:43 --- nick: aum -> david 00:08:56 --- nick: david -> davidm 00:22:49 hi guys - any of you done database programming in forth? 00:23:07 hihi, just VERY primitive stuff 00:23:21 what level are you thinking of? 00:28:53 hello? 00:37:09 yes 00:37:17 i'm thinking of basic relational stuff 00:37:28 with a seperate engine? 00:37:41 no - building basic engine in forth 00:37:54 ok 00:38:06 no, I haven't done that, but willing to discuss it, if you like 00:38:39 thx 00:38:51 i'm building a generic data table class 00:39:06 HA! There's an Arab on BBC world service complaining that it took us two months to oust the Taliban 00:39:25 ok, which forth are you writing for? 00:39:26 the idea is that this class would contain either an array, tree or list of records 00:39:29 FICL 00:39:38 arg! @:^> 00:39:46 ok 00:40:35 as I understand it, relational databases are an unordered collection of variable-sized records ... is this correct? 00:41:41 i'm pretty ignorant with relational databases 00:42:10 but what you've said certainly tells me i gotta support variable-sized records/fields 00:42:35 yes, there are often text "blobs" ... to use mySQL vernacular 00:42:52 so that means there needs to be an idex of pointers 00:42:57 k 00:43:08 do you want that index inside or outside the datafile? 00:43:26 seems i'll need it outside the datafile if i want to support fast searching 00:44:03 it's about the same, probably 00:44:14 because a search often means a data comparison 00:44:56 i had wanted to keep it simple, with fixed-length fields in each table 00:45:06 perhaps it would be better to ask, "How will this database be used?" 00:45:33 i'm certainly not wanting to write a general database engine 00:45:34 that would probably be better, if it gives you the functionality you need 00:45:49 ok, that clarifies things 00:46:13 just a class that supports some basic operations on data files, like searching, load/save to/from file, insert records, delete records 00:46:15 what data types will you be storing? 00:46:25 mainly int, string, stringhash 00:46:34 and links to other tables 00:46:40 oops, variable length strings? 00:46:55 yes - there's the dilemna 00:47:05 (I can't think where fixed-length strings are ever used anymore) 00:47:46 you expect to load entire database into memory??? 00:48:07 possibly - i'm not intending it to be used with large databases 00:49:16 ok, then I would use a general list class containing pointers to variable-sized blocks of allocated memory 00:49:28 funny that I'm writing one tonight 00:49:35 so maybe I'm skewed 00:50:19 within each block, you can order and store fields in any way you sish 00:50:22 wish 00:51:11 brb, making coffee 00:52:43 --- join: aum`` (~aum@l76-133.world-net.co.nz) joined #forth 00:52:48 --- quit: aum`` (Client Quit) 00:56:44 back 00:56:57 what was the last that you saw? 01:01:44 well, i've got forth going on windows ce PDAs, and it drives the FLTK gui lib, so now i'm adding database stuff to make it easy to write apps 01:01:59 oh! awesome!!! 01:02:04 apps in forth that will run identically on linux, windows PDAs and windows desktops 01:02:19 what was the base language you used for FICL? 01:02:30 (sorry, I didn't bookmark it last time I asked) 01:02:47 is this with ARM or SH3 pdas? 01:02:54 i didn't write ficl - FICL was written by John Sadler - I've just hijacked it into my own forth distro called 'netForth' 01:03:03 ok 01:03:05 so far, MIPS pdas 01:03:09 but aim for ARM as well 01:03:39 Poor old FICL is slow - 2% of the speed of raw C, but has some advantages 01:04:01 * MrReach makes a rude noise. 01:04:10 heh 01:05:04 was it you that was writing forth in a rather odd but very portable scripting language? 01:05:12 no 01:05:20 and that I was trying to convince to tokenize colon def? 01:05:22 ok 01:05:30 someone else was writing forth for TCL 01:05:48 no, not TCL, something like EULA or something like that 01:16:38 anyway ... 01:16:55 that method will allow you to read/write database to disk 01:17:00 and search for records 01:35:45 sorry for absense - i've been doing n things at once 01:35:53 * MrReach nods. 01:40:38 gotta reboot - bbiab 01:40:40 --- quit: davidm () 01:45:52 --- quit: aaronl ("The name's X. Bitch X.") 01:45:53 --- join: aaronl (aaronl@vitelus.com) joined #forth 02:11:01 --- nick: MrReach -> MrShower 03:02:06 --- nick: MrShower -> MrReach 03:10:13 * aaronl is away: sleep 08:53:43 --- join: MrGone (~mrreach@209.181.43.190) joined #forth 08:54:11 --- quit: MrReach (Read error: 104 (Connection reset by peer)) 15:54:31 * aaronl is back (gone 12:44:18) 16:48:45 --- join: edrx (edrx@200.240.18.71) joined #forth 17:47:39 --- quit: edrx ("[x]chat") 18:56:16 --- join: TheBlueWizard (~tbw@ip-216-25-202-234.vienna.va.fcc.net) joined #forth 18:56:20 hiya all 21:48:17 gotta go...bye 21:48:19 --- part: TheBlueWizard left #forth 23:59:59 --- log: ended forth/01.12.17