Persistent programming language

From HandWiki
Revision as of 18:27, 21 December 2025 by Scavis2 (talk | contribs) (fixing)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Programming languages that natively and seamlessly allow objects to continue existing after the program has been closed down are called persistent programming languages. JADE is one such language.

A persistent programming language is a programming language extended with constructs to handle persistent data. It is distinguished from embedded SQL in at least two ways:

In a persistent programming language:

  • The query language is fully integrated with the host language and both share the same type system.
  • Any format changes required between the host language and the database are carried out transparently.

In Embedded SQL:

  • Where the host language and data manipulation language have different type systems, code conversion operates outside of the OO type system, and hence has a higher chance of having undetected errors.
  • Format conversion must be handled explicitly and takes a substantial amount of code.

Using Embedded SQL, a programmer is responsible for writing explicit code to fetch data into memory or store data back to the database. In a persistent programming language, a programmer can manipulate persistent data without having to write such code explicitly.

The drawbacks of persistent programming languages include:

  • While they are powerful, it is easy to make programming errors that damage the database.
  • It is harder to do automatic high-level optimization.
  • They do not support declarative querying well.

Examples

See also

References

  1. Greenes, Robert; Pappalardo, A Neil; Marble, Curt W; Barnett, G Octo (1969). "Design and implementation of a clinical data management system.". Comput Biomed Res 5 (Oct): 469–85. doi:10.1016/0010-4809(69)90012-3. PMID 11697375. 
  2. "Jade Software delivers Jade 7.1". ZDnet. https://www.zdnet.com/article/jade-delivers-version-7-1/. Retrieved 21 December 2019. 
  3. "Quit Command | ObjectScript Tutorial | Caché & Ensemble 2018.1.4 & 2018.1.5". https://cedocs.intersystems.com/latest/csp/docbook/Doc.View.cls?KEY=TCOS_Quit.