Looking at this answer (https://stackoverflow.com/a/2856961/1793629) I assume that Ur/Web is quite safe platform.
Now looking at this benchmark (http://www.techempower.com/benchmarks/#section=data-r9&hw=peak&test=json) I see that cpoll_cppsp framework is in most use cases 1st or in top 5.
Example code from (http://xa.us.to/cppsp/documentation.cppsp) is
<%#
#include <vector>
#include <string>
vector<string> hello() {
return {"hello", "world", "!"};
}
%>
<html>
<body>
<table>
auto a = hello();
for(int i = 0; i < a.size(); i++) {
%>
<tr>
<td><%=a[i] %></td>
</tr>
<%
}
%>
</table>
</body>
</html>
Documentation is rather poor, so maybe someone could explain is this thing type-safe and has similar features(listed here: https://stackoverflow.com/a/2856961/1793629) as Ur/Web?
Thank you in advance.
Since cppsp parse language is c++, it is not type safe (see http://en.wikipedia.org/wiki/Type_safety#C.2B.2B_Examples).
Crashs may occur due to invalid pointers.
Every feature listed in https://stackoverflow.com/a/2856961/1793629 can be broken by badly written c++ code.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With