Posts

Post has attachment

Add a comment...

Post has attachment

Very simple tool for users who need to interface with a device based on CAN (CAN/CANopen/J1939/NMEA2000/DeviceNet) such as motors, sensors and many other devices.

Add a comment...

Post has attachment

Post has attachment

Post has attachment

Public

Add a comment...

Adding constant propagation in matiec compiler:

/* Meet rules

* - any * TOP = any

* - any * BOTTOM = BOTTOM

* - constant * constant = constant (if equal)

* - constant * constant = BOTTOM (if not equal)

*/

#define COMPUTE_MEET_SEMILATTICE(dtype, c1, c2, resValue) {\

if ((c1.

( c1.

( c2.

resValue._##dtype.status = symbol_c::cs_non_const;\

} else {\

resValue._##dtype.status = symbol_c::cs_const_value;\

resValue.

}\

}

/* Meet rules

* - any * TOP = any

* - any * BOTTOM = BOTTOM

* - constant * constant = constant (if equal)

* - constant * constant = BOTTOM (if not equal)

*/

#define COMPUTE_MEET_SEMILATTICE(dtype, c1, c2, resValue) {\

if ((c1.

*##dtype.value != c2.*##dtype.value && c2.*##dtype.status == symbol_c::cs_const_value && c1.*##dtype.status == symbol_c::cs_const_value) ||\( c1.

*##dtype.status == symbol_c::cs_non_const && c2.*##dtype.status == symbol_c::cs_const_value ) ||\( c2.

*##dtype.status == symbol_c::cs_non_const && c1.*##dtype.status == symbol_c::cs_const_value )) {\resValue._##dtype.status = symbol_c::cs_non_const;\

} else {\

resValue._##dtype.status = symbol_c::cs_const_value;\

resValue.

*##dtype.value = c1.*##dtype.value;\}\

}

Add a comment...

Post has attachment

Public

My first small Qt5 application on raspberry pi.

Add a comment...

Post has attachment

BSD Kqueue vs Linux Epool.... the winner is Epool :-(

Add a comment...

Post has shared content

Less than two years ago a number of benchmarks showed that Dragonfly BSD didn't scale at all on multi-core CPUs... but in the last few months their achievements are simply impressive

Add a comment...

Wait while more posts are being loaded