Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The main difference is that Temporal is using general-purpose programming languages to implement workflow code. This gives developers unlimited flexibility and doesn't require learning a new specialized language just to add resiliency to their program. Some other benefits of using programming language instead of XML/JSON based language:

* Strongly typed (for languages like Java or Go)

* Uses standard error handling of the language of choice. For example, Java SDK throws exceptions, and Go one returns errors.

* Use standard tools for development like IDEs, Debuggers, Linters, Unit Testing frameworks, etc.

* Allows using the same language for both activities and workflows.

* Allows programs of practically unlimited complexity through standard programming language techniques like OO, functions, etc.

* Easily supports handling of asynchronous events

* Supports updating definitions of already running workflows

* Allows reuse of standard libraries. For example, if workflow needs to keep a state in a priority queue, it can use an existing one.

My personal opinion that BPMN tries to cater to two distinct groups of people. Non-technical domain experts and software developers. And it is essentially a compromise that cannot serve both of them well. Non-technical domain experts still cannot implement production-ready workflows, and developers have to use limited complicated UI/XML-based technology that is inferior to the programming languages and environments they are used to. The Temporal approach gives developers the best tool for their job and lets them decide how to interact with non-technical users. In some domains, it is possible to create DSL for non-technical users to use. Temporal is an excellent technology for implementing such domain-specific languages. BPMN's problem is that it is not domain specific and tries to serve as a general-purpose language without being one.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: