1. update for my version of Dot
- Posted by jbrown105 at speedymail.org May 13, 2002
- 384 views
As I was unable to solve my dilema of using '=', I've made Dot use == for comparing and := for assigning. Also added allow_eq, but that option is currently broken. Now its time to work on the slicing operators. (I may also add an interface to declare new syntaxes (such as switch..case, until..do, each..in..do, etc.) if I can figure out a way to do this cleanly.) Also, I have added a library (to my knowledge linux-only) for using shared memory. I plan to use this to help me simulate threads under linux. I can use fork() to create the threads, but the problem is how to share variables between threads. Its either shared memory or file io, no other form of IPC is adequate enough to share variables. The real problem is how to share sequences, and how to make them dynamic, like linked lists. (I know fork() is used to create new processes btw, but I know how to use it to simulate threads as well.) Dot is avaliable as class.tar.gz and my shared memory lib is avaliable as sharedmem.tar.gz from my site: http://www.geocities.com/jbrown1050 jbrown P.S. Working on http redirect wrappers so soon I'll be able to give you a web page (such as class_tar_gz.html) and it will automaticly download the file for you instead of making you click links. -- http://fastmail.fm Any faster and it wouldn't be e-mail!
2. update for my version of Dot
- Posted by jbrown105 at speedymail.org May 13, 2002
- 357 views
As I was unable to solve my dilema of using '=', I've made Dot use == for comparing and := for assigning. Also added allow_eq, but that option is currently broken. Now its time to work on the slicing operators. (I may also add an interface to declare new syntaxes (such as switch..case, until..do, each..in..do, etc.) if I can figure out a way to do this cleanly.) Also, I have added a library (to my knowledge linux-only) for using shared memory. I plan to use this to help me simulate threads under linux. I can use fork() to create the threads, but the problem is how to share variables between threads. Its either shared memory or file io, no other form of IPC is adequate enough to share variables. The real problem is how to share sequences, and how to make them dynamic, like linked lists. (I know fork() is used to create new processes btw, but I know how to use it to simulate threads as well.) Dot is avaliable as class.tar.gz and my shared memory lib is avaliable as sharedmem.tar.gz from my site: http://www.geocities.com/jbrown1050 jbrown P.S. Working on http redirect wrappers so soon I'll be able to give you a web page (such as class_tar_gz.html) and it will automaticly download the file for you instead of making you click links. -- http://fastmail.fm Any faster and it wouldn't be e-mail!