1. A method comprising: (a) compiling, by a processor, a first amount of high-level programming language code thereby obtaining a first section of native code and compiling a second amount of a low-level programming language code thereby obtaining a second section of native code, wherein the first amount of high-level programming language code at least in part defines how a Software Defined Network (SDN) switch performs a matching in a first condition, and wherein the second amount of low-level programming language code at least in part defines how the SDN switch performs matching in a second condition, wherein the matching specified by the second amount of low-level programming language code cannot be specified using the high-level programming language; (b) loading the first section of native code into the SDN switch such that a first processor of the SDN switch can execute at least part of the first section of native code; and (c) loading the second section of native code into the SDN switch such that a second processor of the SDN switch can execute at least part of the second section of native code.