Cรฉdric Brun bio photo

Cรฉdric Brun

Build open-source technologies to enable mission critical tools for complex domains.

Email Twitter LinkedIn Github Youtube

As you might be enjoying your summer and browsing around here, let me show you a little prototype Iโ€™ve been developing on and off through several versions of Sirius Web.

Itโ€™s now based on the latest Sirius Web release. Kudos to the Sirius team for releasing every 8 weeks like clockwork!

The idea was inspired by Guesstimate:

๐˜ˆ ๐˜ด๐˜ฑ๐˜ณ๐˜ฆ๐˜ข๐˜ฅ๐˜ด๐˜ฉ๐˜ฆ๐˜ฆ๐˜ต ๐˜ง๐˜ฐ๐˜ณ ๐˜ต๐˜ฉ๐˜ช๐˜ฏ๐˜จ๐˜ด ๐˜ต๐˜ฉ๐˜ข๐˜ต ๐˜ข๐˜ณ๐˜ฆ๐˜ฏโ€™๐˜ต ๐˜ค๐˜ฆ๐˜ณ๐˜ต๐˜ข๐˜ช๐˜ฏ!โ€

Itโ€™s a tool Iโ€™ve always liked, and I wanted to see how far we could take it with Sirius.

This prototype is a domain-specific tool for โ€œ๐˜จ๐˜ถ๐˜ฆ๐˜ด๐˜ด๐˜ต๐˜ช๐˜ฎ๐˜ข๐˜ต๐˜ช๐˜ฏ๐˜จโ€ using Monte Carlo simulations. Itโ€™s just a proof of concept, but it really showcases some cool features of Sirius Web:

  • All the domain-specific logic is kept in an EMF-based metamodel and the corresponding Java implementation. Itโ€™s only 11 files and 1028 lines of non-generated code.
  • Iโ€™m using the charts widget in the details view, which adds a nice touch.
  • Integration with Java libraries is super easy โ€“ here, Iโ€™ve used Apache Common Maths and PetitParser.

Check out the video to see it in action!