[Oberon] Memory allocation
Chris Burrows
chris at cfbsoftware.com
Sun Jan 16 00:20:20 CET 2011
>-----Original Message-----
>From: Jan Verhoeven [mailto:jan at verhoeven272.nl]
>Sent: Sunday, 16 January 2011 4:35 AM
>To: ETH Oberon and related systems
>Subject: [Oberon] Memory allocation
>
>Suppose I want to make a database manager like dBase.
>
>Then I would need to be able to allocate random amounts of
>memory and I would need pointers that can be incremented and
>decremented.
>
You would only *need* to manually allocate random ('non-constant'?) amounts
of memory and *need* to manually increment and decrement pointers if you
only had access to assembly language or a language that didn't have the
higher-level language capabilities than Oberon has.
One approach to programming a database system in Oberon is given in a paper
presented at the Joint Modular Languages Conference in 1997.
"An Object-Oriented Database Programming Environment for Oberon"
J. Supcik, M. C. Norrie (ETH Zurich)
You can download a copy from:
ftp://ftp.inf.ethz.ch/doc/papers/cs/JMLC97.js.ps.gz
However, in the real world a professional Oberon programmer is as likely to
do something like this as he is to write his own operating system for his
programs to run on.
An example of how database programming can be done in Oberon is described by
Dr Josef Templ in an article titled "FFF97 - Oberon in the Real World". This
describes a database front end application written in Oberon that uses ODBC
to access an MS SQL Server database system. You can download a copy from the
'Project History' section of his website at:
http://www.software-templ.com/
Regards,
Chris Burrows
CFB Software
http://www.cfbsoftware.com
More information about the Oberon
mailing list