Risky? If you have any large numbers to deal with then good luck, i use Big_int dll for large maths in PHP.
Its also good becasue the manual is easy to access and read and understand,
And i believe you can use any language for the problem, VB for Q1, PHP for Q2, C++ for Q3 if need be...