3 ms·
> Can I use the knowledge to make my own OOP + FP language right away I didn't take this course, but from the syllabus posted above it looks like garbage colle
by tom_mellior 9y ago
> Can I use the knowledge to make my own OOP + FP language right away
I didn't take this course, but from the syllabus posted above it looks like garbage collection is not covered at all. That's pretty much a requirement for FP languages, and it makes OOP languages easier too. So you'd have to look at other resources for that. A simple semispace collector should be relatively easy to write even if you don't want to get too deep into the matter.
For a very first version of your language, you can of course just allocate memory without ever freeing it. That's good enough to experiment with simple programs.
Another point that I think isn't covered in this course, and that is relevant for (many) functional languages, is pattern matching and the representation of algebraic datatypes.