2017???????JavaScript??????????
???????????? ???????[ 2017/4/13 13:28:40 ] ????????Javascript ???????????
????OCaml??????????亯??????????????????????????????????????????????OCaml stdlib????????????????:
moduleIntMap=Map.Make(struct
typet=int
letcompare(x:int)y=comparexy
end)
lettest()=
letm=refIntMap.emptyin
letcount=1000000in
fori=0tocountdo
m:=IntMap.addii!m
done;
fori=0tocountdo
ignore(IntMap.findi!m)
done
let()=test()
????????????FacebookImmutable????????:
'usestrict';
varImmutable=require('immutable');
varMap=Immutable.Map;
varm=newMap();
functiontest(){
varcount=1000000;
for(vari=0;i<count;++i){
m=m.set(i??i);
}
for(varj=0;j<count;++j){
m.get(j);
}
}
test();
?????????????£?????????????????
????· BuckleScript: 1186ms
????· JavaScript: 3415ms
????????????????
????· BuckleScript (production): 899 Bytes
????· JavaScript: 55.3K Bytes
????ReasonML
????ReasonML??React????????????OCamel????????á???????????????????????????????????????????Sean Grove??ReasonML??????????????????JavaScript??Reason????????
????Purescript
?????????????????????????????JavaScript???????????λ??Elm???????????????
????· ????????????
????· ???????????JavaScript?????
????· ???JavaScript ??????
????· ???????Hashkell??????????????
????· ???????JavaScript????
????Webpack-blocks
????Dan Abramov?????Webpack???λ????????????????????????????????????
const { createConfig?? defineConstants?? env?? entryPoint?? setOutput?? sourceMaps } = require('@webpack-blocks/webpack2')
const babel = require('@webpack-blocks/babel6')
const devServer = require('@webpack-blocks/dev-server2')
const postcss = require('@webpack-blocks/postcss')
const autoprefixer = require('autoprefixer')
module.exports = createConfig([
entryPoint('./src/main.js')??
setOutput('./build/bundle.js')??
babel()??
postcss([
autoprefixer({ browsers: ['last 2 versions'] })
])??
defineConstants({
'process.env.NODE_ENV': process.env.NODE_ENV
})??
env('development'?? [
devServer()??
devServer.proxy({
'/api': { target: 'http://localhost:3000' }
})??
sourceMaps()
])
]);
????GraphQL
????GraphQL????????REST?????????????????????Щ??д?????????????????????????????????REST??GraphQL??????·???????????2017??GraphQL?????????????????????????????????????????2018??ɡ?
????React Storybook
?????????????React Storybook?????????????????????????????????????????
????[jQuery 3.0]()
??????????jQuery???????????????????У????????????????2016??6?·??????jQuery 3.0?汾??????ο????????????????
????Pixi.js
????????????????????????????2DЧ???????????????WebGL????????????Pixi.js????????????????ο????????????Demo??
????Preact??[inferno]()
?????????React???????
????Rust
????Rust???????JavaScript??(???emscripten)??
????Custom Elements
????Custom Elements(????Shadow DOM)?????????????????????????????2017?????????Щ??仯???仯?????????????????????????????????????????Custom Elements?????????SmashingMag????Google’s????Custom Elements??????
????WebRTC
????????????WebRTC??????????Facebook??Slack??Snapchat???WhatsApp?????????????м?????WebRTC?????????WebRTC????2017???????????????????????
????Next.js
????Next.js???????React??Webpack??Babel???????????????????С???????????ZEIT??????React??????????С???????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11