|
|
Up |
|
|
  |
Author: Dmitry PonyatovDmitry Ponyatov Date: Aug 9, 2007 14:01
I have dummy idea
-- make tiny OS based on byte-code interpreter in C(+
+) and FORTH target compiler as main development tool. This gives
power of porting OS in 1-2 hour for any computer/OS and gives
protected environment for programs. And we can run programs on
networks build upon different computers and devices like PCs, PDAs and
mobile phones connected via bluetooth, ethernet etc.
|
| |
|
| | 30 Comments |
|
  |
Author: John PassanitiJohn Passaniti Date: Aug 9, 2007 14:34
Dmitry Ponyatov wrote:
> I have dummy idea -- make tiny OS based on byte-code interpreter in C(+
> +) and FORTH target compiler as main development tool. This gives
> power of porting OS in 1-2 hour for any computer/OS and gives
> protected environment for programs. And we can run programs on
> networks build upon different computers and devices like PCs, PDAs and
> mobile phones connected via bluetooth, ethernet etc.
Why is it a dumb idea? In such a system, who cares what the interpreter
is written in? The classic Java and .NET virtual machines were both
written in C, but the languages that target those virtual machines are
(these days) typically written in Java, C#, or other languages hosted on
top of them.
Of course, the underlying idea here is nothing new. There have been
various portable virtual machines over the years that operating systems
have been written in (look at some of the early Smalltalk environments
and the UCSD p-System for two examples).
|
| |
|
| | no comments |
|
  |
Author: Dmitry PonyatovDmitry Ponyatov Date: Aug 11, 2007 09:23
Heh, I already do minimal version which runs on any POSIX system
(tested on i386 under DOS16, WIN32 and Linux) 8-)
Please download @ http://akps.ssau.ru/uF/ latest sources and compile
it using any C(++) compiler and gforth.
Maybe I shold use some public CVS server for project hosting ?
It need some adaptation for big-endian systems -- will be done in near
future.
It's interesting like minimal non brain-fucking programming language
realization
-- two pages of VM
source and two pages of compiler source. Hmm, I can be Moisey knocking
out the source on the granite tablets 8-)
|
| |
| 4 Comments |
|
  |
Author: Dmitry PonyatovDmitry Ponyatov Date: Aug 11, 2007 09:27
NEED HELP TO WRITE HUGE BUNDLE OF SOFTWARE FROM THE SCRATCH OR ADAPT
IT FROM OTHER FORTH SYSTEMS
|
| |
| no comments |
|
  |
Author: Dmitry PonyatovDmitry Ponyatov Date: Aug 11, 2007 09:29
Please note that uF preferrably targeted as OS for embedded systems
based 8/16-bit CPUs, it's better to write software which can work on
_any_ computer using UART text i/o or maybe tiny graphical LED.
|
| |
| 2 Comments |
|
  |
Author: Dmitry PonyatovDmitry Ponyatov Date: Aug 11, 2007 09:31
On 11 , 21:29, Dmitry Ponyatov wrote:
> Please note that uF preferrably targeted as OS for embedded systems
> based 8/16-bit CPUs, it's better to write software which can work on
> _any_ computer using UART text i/o or maybe tiny graphical LED.
Is anybody have access to such strange computer systems to test
succesive VM compiling and correct run of CTLDEMO ? Have you system
few additinal resources to extend uF kernel with multitasking
capabilities ?
|
| |
| no comments |
|
  |
Author: Dmitry PonyatovDmitry Ponyatov Date: Aug 11, 2007 09:45
First program which we should write -- interactive FORTH shell (maybe
very small -- CORE only and without vocabularies support) for systems
with more then 16K RAM.
And other thing -- i think about tiny network daemon which catches
byte-code packages over UDP and run it on uF virtual machine.
But kernel must be extended by some network capabilities to let
program to sent back computing results.
And maybe more interesting variant -- ICQ-like version of this uF
daemon: run them on your workstation, byte-code packet will coming
from network, run, uF window pop-up and you see program running and
print some message and draw GPS position of sender and his photo.
Hm, FORTH-IM can be really useable thing for non-programming people...
And no more JVM blowning up your mobile phone
|
| |
| 2 Comments |
|
  |
Author: Dmitry PonyatovDmitry Ponyatov Date: Aug 11, 2007 10:18
I wrote two scripts in Python
|
| |
| no comments |
|
  |
Author: jcomeau_ictxjcomeau_ictx Date: Aug 11, 2007 17:51
On Aug 11, 11:18 am, Dmitry Ponyatov wrote:
> I wrote two scripts in Python -- one catches requests from network to
> 127.0.0.1:1979 via TCP/IP and run uF VM with them, other sends HELLO
> byte-code program. Works good 8-)
>
> Download fromhttp://akps.ssau.ru/uF
Maybe I'm dumber than Pavlov's dog, but I never deal with .rar files
and can't get this to work:
jcomeau@intrepid ~/shared_documents
$ 7za e -otmp/ 20070811.2216.rar
7-Zip (A) 4.42 Copyright (c) 1999-2006 Igor Pavlov 2006-05-14
Processing archive: 20070811.2216.rar
Error: 20070811.2216.rar is not supported archive
Any ideas? Could you make an archive in .zip, .gz, or .bz format? I
like the way you think, based on your posts, and would be interested
to see what you've accomplished -- jc
|
| |
| no comments |
|
  |
|
|
  |
Author: jcomeau_ictxjcomeau_ictx Date: Aug 11, 2007 17:56
On Aug 11, 10:23 am, Dmitry Ponyatov wrote:
> Heh, I already do minimal version which runs on any POSIX system
> (tested on i386 under DOS16, WIN32 and Linux) 8-)
>
> Please download @ http://akps.ssau.ru/uF/latest sources and compile
> it using any C(++) compiler and gforth.
>
> Maybe I shold use some public CVS server for project hosting ?
>
|
| |
| no comments |
|
|
|
|