Hello, Both are libraries for coding user interfaces, but at different abstraction levels. In few words, Spec2 provides widgets such as button, checkbox and table, while Bloc provides more low-level visual elements such as rectangle, circle and text.
However, there is another library named Brick, that provides widgets based on Bloc, which is more comparable. But Spec2 is still "more abstract" than Brick: By default, a Spec UI opens using Morphic's widgets (which come with Pharo), but you could load other backends such as GTK or Brick to open "the same UI" using other widgets. I've been working in a backend for Brick, still quite incomplete, in: https://github.com/pharo-graphics/Spec-Brick Regards, MartÃn On Tue, Oct 12, 2021 at 11:39 AM o lu via Pharo-dev < [email protected]> wrote: > What is the difference between Bloc and Spec2? > > Sent with ProtonMail <https://protonmail.com/> Secure Email. >
