bas smit

Results 132 comments of bas smit

Is having all variables probe scoped really that bad? Saying that ``` BEGIN { $i = 0; while ($i < 1) { $j = 0; $i++; } ``` is converted(hoisted)...

> I don't think python does hoisting. My understanding (which could be wrong) is that it just does dynamic lookups. Eg: > ... > If python hoists, then you'd expect...

> While I think looking at other languages is useful to see what's been done and how it played out, I think we should be careful to start from first...

> > I also thought that initially, however, checking if all paths return a value is actually not semantic analysis, but control flow analysis, since semantic analysis operates on the...

The idea behind the passmanager and all the visitor stuff is that it should make new passes easy to add, to avoid increasing the complexity of existing passes, the semantic...

Do you mean that `@x` should get its type from `@x =1`? Imo this should be an 'use of undeclared identifier @x' or something similar error, as `x` isn't properly...

Ah I see your reasoning although I like the 2nd example more than the first. E.g. in `BEGIN { @y = 1; @y = @x; @x = 2; }`. What...

I thought we had a root check in there as root is indeed a lot slower. Maybe we lost it ? The parallel stuff looks good!

personally I'd like to see something built into the language instead of a side effect of using clang for c header parsing. c macros are quite horrible

Have you tried setting `BPFTRACE_MAP_KEYS_MAX` Do agree that it needs better warnings, silently 'corrupting' data is bad