Someone has already been there, the protocol is very.. rich, I would say:
Hell, if that lead to Oracle drivers for other languages, that could be amazing too. It's nearly incomprehensible to me why Oracle hasn't documented their protocol.
Then it would difficult to change.
For instance to support clusters and failover.
MSSQL server protocol is documented and failover is handled.
Protocol are usually versioned, or the initial handshake allows client/server capabilities negociation.
Oracle has copyrighted a poem that the clients needs to send to make sure reverse engineered drivers are not possible:
https://noss.github.io/2009/04/28/reverse-engineering-oracle...
Business as usual for Oracle and their horrible ethics...
My goal is to get rid of all the non-Go dependencies, which would (for the first time, ever) finally make it a reality to have a single, small binary that can connect to "every" database and that can be freely distributed. If you'd like to help, please feel free to start an implementation. While I'm not following a specific development routine for the native Oracle driver, I do have a repository with a bunch of (non-building) code that I made to assist with inspecting the raw protocol captures.