Hi Hongwei,
thanks for the feedback. Point 2 I perhaps misunderstand.
I think the system is running with working ats code - respecting
big endian, 32 bit coding, and memory alignment stuff. Between
my mail and your response I wrote about 1300 lines of ats code.
Working and running code. But for what I'm doing this. I can only
express it with the name Schönfinkel, pure phantasy - or reality?
--
You received this message because you are subscribed to the Google Groups "ats-lang-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ats-lang-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ats-lang-users/23923286-cf2a-4a8f-96b5-be5396840b13o%40googlegroups.com.
static struct proc_dir_entry *pde_subdir_find(struct proc_dir_entry *dir, const char *name, unsigned int len) { struct rb_node *node = dir->subdir.rb_node; // dir could potentially be NULL
...
}
I would not be surprised if bugs of this kind are uncovered with some easy dependent type checking.
Furthermore, things can turn out to be more interesting if linear types are used. For example, hidden
bugs potentially causing resource leaks can be uncovered with linear type checking.
If you use linear types, handling structs can be quite a challenge. Maybe it is a good idea to avoid using linear
types for now.
To view this discussion on the web visit https://groups.google.com/d/msgid/ats-lang-users/a6d6a6ce-c162-6524-c17d-302abb2586d9%40bejocama.de.
OK, you are talking about boundary problems. At the moment every
ATS function
is an island. So there are many risks in dealing with the stuff
coming from outside
and also giving things back to the outside. It looks like a
forgetful functor topic.
Such problems may occur and a lot more. I will follow your advice
and write my
own library. If I really migrate 500000 lines of c code (including
comments) I don't
know. I fear the moment I'm thinking - I'm ready. Some change
management
aspects are of interest in general. Let's see.
To view this discussion on the web visit https://groups.google.com/d/msgid/ats-lang-users/CAPPSPLqfnwgeATUsx11Bdroz6h7ygtPjW-nuOZjYVS841TBRSQ%40mail.gmail.com.