O*d
2 楼
没有
j*g
3 楼
nor does C#
L*r
5 楼
first, serialize is not a feature of language. it can be a feature provided
by sdk. c++ can implement serialize for sure but there might be no standard
way in c++.
the serialize in .net or c# is very good.
first you define the content to be serialized using different pattern. it
can be very simple or complicate. the simple way is to use marker attribute(
the annotation in java). this simple way is almost same as java.
second, you define what is the target format for serialized content. the
forma
【在 g*****g 的大作中提到】
: How does C# replicate a web session if there's no standard way
: to serialize objects?
by sdk. c++ can implement serialize for sure but there might be no standard
way in c++.
the serialize in .net or c# is very good.
first you define the content to be serialized using different pattern. it
can be very simple or complicate. the simple way is to use marker attribute(
the annotation in java). this simple way is almost same as java.
second, you define what is the target format for serialized content. the
forma
【在 g*****g 的大作中提到】
: How does C# replicate a web session if there's no standard way
: to serialize objects?
g*g
6 楼
Sure C++ can provide serialization, but probably not
without some custom scheme, which is due to its lack of
reflection mechanism. i.e. You can't just say I want to serialize
this object and let SDK do it, at least not in object code level,
you have to provide an implementation to
actually do that. Correct me if I am wrong in that.
provided
standard
attribute(
【在 L*********r 的大作中提到】
: first, serialize is not a feature of language. it can be a feature provided
: by sdk. c++ can implement serialize for sure but there might be no standard
: way in c++.
: the serialize in .net or c# is very good.
: first you define the content to be serialized using different pattern. it
: can be very simple or complicate. the simple way is to use marker attribute(
: the annotation in java). this simple way is almost same as java.
: second, you define what is the target format for serialized content. the
: forma
without some custom scheme, which is due to its lack of
reflection mechanism. i.e. You can't just say I want to serialize
this object and let SDK do it, at least not in object code level,
you have to provide an implementation to
actually do that. Correct me if I am wrong in that.
provided
standard
attribute(
【在 L*********r 的大作中提到】
: first, serialize is not a feature of language. it can be a feature provided
: by sdk. c++ can implement serialize for sure but there might be no standard
: way in c++.
: the serialize in .net or c# is very good.
: first you define the content to be serialized using different pattern. it
: can be very simple or complicate. the simple way is to use marker attribute(
: the annotation in java). this simple way is almost same as java.
: second, you define what is the target format for serialized content. the
: forma
L*r
7 楼
you are right. at least, it is the way that i did in c++, even it is
interface based but still need to manually write code to write/read data
into archive stream.
【在 g*****g 的大作中提到】
: Sure C++ can provide serialization, but probably not
: without some custom scheme, which is due to its lack of
: reflection mechanism. i.e. You can't just say I want to serialize
: this object and let SDK do it, at least not in object code level,
: you have to provide an implementation to
: actually do that. Correct me if I am wrong in that.
:
: provided
: standard
: attribute(
interface based but still need to manually write code to write/read data
into archive stream.
【在 g*****g 的大作中提到】
: Sure C++ can provide serialization, but probably not
: without some custom scheme, which is due to its lack of
: reflection mechanism. i.e. You can't just say I want to serialize
: this object and let SDK do it, at least not in object code level,
: you have to provide an implementation to
: actually do that. Correct me if I am wrong in that.
:
: provided
: standard
: attribute(
y*i
8 楼
相关阅读
老魏你是做销售的么?做了一个测试用计数器解决并发问题groovy连hello world都是法语测试用例在此,看还有什么说的。computer的历史就是不断地做出trade off. 每秒500万也一样。关注身心健康我的实测结果,纯计算每秒50M次interlocked.increment我来写个老魏的详细实现方案。(更新了缺点)王垠真在写自己的语言了12306哪里有什么死锁问题!我支持 TeacherWei 和 Goodbug 专开一帖制定需求战为止戈,单线程 50M TPS老魏,你能不能不PA?有人用bash吗?做presentation要简单明了阿说的再清楚一点: 抢票机性能只和中途停靠总站数相关修过三门cs课(算法,数据库,java)的化工硕士找cs工作?老魏,我今天一次都没有PA你,你干吗骂我?搞了半天,有两人是做行为艺术的