Impressive: C++ Lambdas via Template Metaprogramming
U. Utah's Matt Might has implemented lambda expressions in C++, so for instance:
Function2<int,int,int> h(int a, int b) {
return lambda<int> (x,y) --> a*x + b*y ;
}
the value of h(3,4)(1,1)
is 7.
Is It "All About The Framework"?
This thought-provoking post on /dev/why!?! argues that backward compatibility is the root cause of the new iPhone restrictions. The argument is summed up in this quote:
more ...I can think of incidents where Apple reverted OS changes, dumped new APIs, or was forced to committing massive engineering resources to something …
Twitter Weekly Updates for 2010-04-11
- Remember the Milk is hiring a Scala programmer: http://jobs.stackoverflow.com/default.asp?6700 #
- Worrisome new rule for iPhone / iPad causing discussion on #monotouch -- consensus seems to be that MonoTouch is fine. #
- More scary stuff from new iPhone SDK license: ""Applications must be originally written in Objective-C, C, C …
"Originally Written in..." vs. Code Generation
My assertion that the iPhone license phrase "Applications must be originally written in Objective-C, C, C++, or JavaScript as executed by the iPhone OS WebKit engine" can only mean zero code generation has been questioned. Here's why I stand by that assessment (and consider the clause beyond the pale).
Let …
more ...Automatic Parallelization of Memory Management
MMT: Exploiting Fine-Grained Parallelism in Dynamic Memory Management, Tiware et al. is worth reading if you are interested in systems-level performance programming. If you work in a managed environment, the briefly described lockless protocol for request-reply queues is worth noting.
This paper describes the use of a "Memory Management Thread …
more ...The Absurdity of Apple's New iPhone Restrictions
These are the new clauses:
- Applications must be originally written in Objective-C, C, C++, or JavaScript as executed by the iPhone OS WebKit engine
I'm tempted to say that the clause is absurd and to talk about metaprogramming with C++ templates or JavaScript prototypes, but the fact is that it's …
more ...Using Mathematica to Generate "The Elements" iPad App
The most intriguing part of this Popular Science article on the creation of the iPad app "The Elements" is the all-too-brief mention of the creation of a higher-level Mathematica program to generate the pages:
more ...In about 7 of the precious 60 available days, I was able to create from scratch …
- ← Previous
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 74
- 75
- 76
- 77
- 78
- 79
- 80
- 81
- 82
- 83
- 84
- 85
- 86
- 87
- 88
- 89
- 90
- 91
- 92
- 93
- 94
- 95
- 96
- 97
- 98
- 99
- 100
- 101
- 102
- 103
- 104
- 105
- 106
- 107
- 108
- 109
- 110
- 111
- 112
- 113
- 114
- 115
- 116
- 117
- 118
- 119
- 120
- 121
- 122
- 123
- 124
- 125
- 126
- 127
- 128
- 129
- 130
- 131
- 132
- 133
- 134
- 135
- 136
- 137
- 138
- 139
- 140
- 141
- 142
- 143
- 144
- 145
- 146
- 147
- 148
- 149
- 150
- 151
- 152
- 153
- 154
- 155
- 156
- 157
- 158
- 159
- 160
- 161
- 162
- 163
- 164
- 165
- 166
- 167
- 168
- 169
- 170
- 171
- 172
- 173
- 174
- 175
- 176
- 177
- 178
- 179
- 180
- 181
- 182
- 183
- 184
- 185
- 186
- 187
- 188
- 189
- 190
- 191
- 192
- 193
- 194
- 195
- 196
- 197
- 198
- 199
- 200
- 201
- 202
- 203
- 204
- 205
- 206
- 207
- 208
- 209
- 210
- 211
- 212
- 213
- 214
- 215
- 216
- 217
- 218
- 219
- 220
- 221
- 222
- 223
- 224
- 225
- 226
- 227
- 228
- 229
- 230
- 231
- 232
- 233
- 234
- 235
- 236
- 237
- Next →