5 things all programmers should try but few does
Content:
5 things all programmers should try but few does:
- try memory mapped files instead of traditional IO - when reading large binary files then memory mapped files are often both more convenient and faster than traditional IO
- try stored procedures or user defined functions in a HLL - SQL is great for selecting fields, joining tables, selecting grows, grouping etc. - SQL sucks as a programming language with string manipulation, math, temporary data structures etc. - luckily many databases actually allows
stored procedures or user defined functions to be written in a HLL more suited for such a task - Oracle DB (Java, C#), IBM DB2 (Java), MS SQLServer (C#), Sybase ASE (Java), Derby (Java), PostgreSQL (Perl, Python, Tcl, MySQL 9 pay version (JavaScript)
- try traditional message queues - traditional message queues are great for making an architecture asynch - lots of features (queues with 1 recipient, topics with multiple recipients, durable storage, transaction support) - ActiveMQ/ArtemisMQ or RabbitMQ are two common choices
- try DB2 database - everybody has tried MySQL and PostgreSQL, most have tried MS SQLServer and Oracle DB, few has tried IBM DB2 - IBM DB2 is a database in the Oracle DB weight class and much more attractive price
- try Ada language - Ada is a very type safe language - C/C++/Java/C# developers think their language is type safe and it sort of is, but it is not nearly as type safe as Ada - learning Ada gives a new perspective on type safety
Have fun!!
Comments: