Constructing a Deterministic Finite State Automaton for a given Regex
I have a couple of exam questions for my compilers class and wanted to check if my solutions are correct.
Application protocols and state machines: designing a complicated server
I’m designing and prototyping a server that has the following characteristics:
Are exceptions as control flow considered a serious antipattern? If so, Why?
Back in the late 90’s I worked quite a bit with a code base that used exceptions as flow control. It implemented a finite state machine to drive telephony applications. Lately I am reminded of those days because I’ve been doing MVC web apps.
Using a Finite State Machine for access management?
My intranet site uses LDAP and Active Directory to authenticate users. There are 2 kinds of Users: Managers and Employees. They are differentiated by having membership in a particular AD group.
Can all business logic be decomposed as a (declarative) state diagram on simple crud operations and conditionals?
This seems an extreme question probably but I’m wondering anyhow:
Can all business logic be decomposed as a (declarative) state diagram on simple crud operations and conditionals?
This seems an extreme question probably but I’m wondering anyhow:
How to Handle Additional Parameters in State Transition for State Pattern in C++
I’m implementing a state pattern in C++ with a context and several states. Each state implements its transition. Here’s a simplified version of what that design could look like:
Are there benefits to writing programs as Pushdown Automata
I came across https://en.wikipedia.org/wiki/Automata-based_programming which argues there are significant advantages to writing your program as a FSM (finite automaton). This of course is a well known design pattern with lots of tutorials https://www.youtube.com/watch?v=4Lom_lqSGoY
How to Implement a Parallel Workflow
I’m trying to implement a parallel split task using a workflow system. I’m using .NET but my process is very simple and I don’t want to use WF or anything heavy like that.
How to Implement a Parallel Workflow
I’m trying to implement a parallel split task using a workflow system. I’m using .NET but my process is very simple and I don’t want to use WF or anything heavy like that.